[GRASS-user] R and GRASS

Rainer M. Krug Rainer at krugs.de
Tue Apr 2 02:25:33 PDT 2013


Paulo van Breugel <p.vanbreugel at gmail.com> writes:

> 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")

I would suggest to ask R-GRASS questions at the list R-sig-geo
https://stat.ethz.ch/mailman/listinfo/r-sig-geo which is more targeted
to R and GRASS. But I agree with Paulos answer.

Cheers,

Rainer

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

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug


More information about the grass-user mailing list