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
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user