On Mon, Jul 5, 2010 at 9:19 PM, Markus Metz <[email protected]> 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 _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
