[GRASS-user] Wingrass 6.4 with MSYS does not work

Markus Neteler neteler at osgeo.org
Mon Jul 5 15:30:23 EDT 2010


On Mon, Jul 5, 2010 at 9:19 PM, Markus Metz
<markus.metz.giswork at googlemail.com> wrote:
> Daniel Victoria wrote:
...
>> 2) Question: Can I integrate Wingrass and R? How do I run R from the
>> grass command line? Should I use MSYS? because I can't get the windows
>> command line functioning after I start wxpython gui.
>>
> On Windows, the easiest way is calling grass from R with initGRASS
> from the R package spgrass6. After GRASS has been initialized for R,
> you have access to grass commands from within R. For an example, see
> http://geomorphometry.org/content/geomorphometry-r-saga-ilwis-grass
>
> Go down to the part of the script with the grass example, adjust
> loc <- initGRASS("C:/GRASS", home=tempdir())
> as appropriate for your system.


I have added that here:
http://grass.osgeo.org/wiki/R_statistics#MS_Windows

Markus


More information about the grass-user mailing list