Skip to content
Prev 7110 / 29559 Next

spgrass6 and initGRASS

On Sun, 6 Dec 2009, Patrick Giraudoux wrote:

            
No, without the output of traceback(), it isn't obvious, although here 
traceback() might not help. Run under debug(initGRASS) to the step before, 
that is:

         gisrc <- system(paste("g.dirseps.exe -g",
             shQuote(Sys.getenv("WINGISRC"))), intern=TRUE)

then run:

Sys.getenv("WINGISRC")
shQuote(Sys.getenv("WINGISRC"))
gisrc

and try to see what is going on. At this stage, Sys.getenv("GISRC") should 
be "junk", assigned a couple of lines earlier.

Maybe the grass-stats list would have a higher proportion of users of both 
GRASS and R.

Hope this helps,

Roger