[R-sig-Geo] run R from osgeo4w as a grass-python script
Massimo Di Stefano
massimodisasha at gmail.com
Fri Feb 24 19:00:55 CET 2012
Hi All,
I'm an linux user and i'm bring to develop a series of python scripts for grass
where i'm using rpy2 to call R and require the R packages spgrass6 (rgdal sp and others).
On Linux and osx all runs as aspected .. now i need to port the script on windows .. and i'm a bit disoriented.
i'd like to use grass and python that comes with the osgeo4w installer.
I installed R, but i don't know how to use it from inside a grass session.
If I run GRASS he is not able to detect the installed R .. and also the osgeo4w python .. rpy2 is not able to detect the R installation.
Do you have any link to a guide or hints on how to have all running in the same environment ?
Many many thanks for any help!
once i'll figure out the esiest way to do it, i'm thinking to update the grass wiki to add an 'how to' to easy run grass and R tighter trough a python grass script.
More information about the R-sig-Geo
mailing list