[GRASS-user] R and GRASS

Paulo van Breugel p.vanbreugel at gmail.com
Tue Apr 2 01:52:54 PDT 2013


You probably need to start a monitor with d.mon first. Also, you should 
set intern to False. For example:

library(spgrass6)
execGRASS("d.mon", start="x1")
execGRASS("d.vect", map="due")

Cheers,

Paulo


On Tue 02 Apr 2013 09:36:09 AM CEST, matthias lauber wrote:
> Hey folks,
> I am somewhat new to GRASS and I am trying to get GRASS to talk with R
> in the way i want it to.
> I am using the GRASS Version 6.4.2 and R 2.15.3 with RStudio.
> My question is, how I can use execGRASS() from spgrass6 to do EXACTLY
> what GRASS would do?
> When I try to simply display a vector-map like
> library(spgarss6)
> execGRASS("d.vect", parameters=list(map="due"),intern=T)
> it does not show add the vector map to my map-window but produces a
> .png-file... Any ideas?
> Thank you in advance and happy after-easter,
> Matthias
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list