[osgeo4w-dev] [R-sig-Geo] Linking R/spgrass6 to OSGEO4W GRASS GIS installation
tech_dev at wildintellect.com
Fri Nov 29 15:13:06 PST 2013
On 11/29/2013 09:17 AM, geobernadotte wrote:
> Ralf Schäfer wrote
>> Add OSGEO4W/bin to the path to enable access to gdal110.dll
>> WPATH <- Sys.getenv("PATH")
>> WPATH1 <- paste("C:\\OSGeo4W\\bin", WPATH, sep=";")
>> # Note: Users with 64bit installation should put "C:\\OSGeo4W64\\bin"
>> initGRASS("C:/OSGeo4W/apps/grass/grass-6.4.3", tempdir(), override=TRUE,
>> SG = mwidem_trans2)
>> # Note: Users with 64bit installation should put
> You saved my day. Only took me an hour to understand that i have to un-#
> Sys.setenv(PATH=WPATH1) from your example ...
> I can imagine that this is a problem for quite some people wanting to
> utilize GRASS from within R with an OSGEO4W-install. Should find it's way
> into some help page maybe...
> So thanx for sharing
Forwarding to the OSGeo4w list so we can put it on our wiki.
More information about the osgeo4w-dev