[GRASS-user] R and GRASS-windows (readRAST6 problem, installation)
Martin Mainzer
martmai at gmx.de
Mon Nov 2 11:03:09 EST 2009
Hello at all
I use R to do statistics of some GRASS data. On the windows machines (XP
and W2K) there occurred a problem when using the readRAST6 command form
the spgrass6 library. I think the problem is linked to the standard
installation of the GRASS standalone installer.
The standalone installer creates a folder named "GIS DataBase" under "My
Documents". To test where the problem is, I moved the folder "GIS
DataBase" to D:\
Now I started R from within the new GRASS wxpython GUI. Within R I
loaded spgrass6 ("library(spgrass6)"). Then the command readRAST6 fails.
After renaming "GIS DateBase" to "GISDataBase" (and of course new start
of GRASS and R) everything with the readRAST6 command works fine.
So my guess is, that the readRAST6 command can not handle the blanks in
the paths and on the other hand the installation of GRASS under windows
with the standalone installer creates a default GIS database with a
blank in the folder name. So probably it would be a good idea to change
"GIS DataBase" to "GISDataBase". But then there is still the blank in
"My Documents"!
Can anyone confirm this, and should I file a bug report?
Martin
More information about the grass-user
mailing list