Skip to content
Prev 24364 / 29559 Next

RGRASS7 and Initgrass

On Wed, 4 May 2016, PONS Frederic - CEREMA/DTerMed/DREC/SRILH wrote:

            
You have not said which version of rgrass7 you are using.

I'm afraid this is very unclear. You are almost certainly using a very 
suboptimal approach. Have you thought of starting GRASS properly once, 
and doing whatever your function does in new mapsets? Or are the locations 
different?

Please move this to the grass-stats list.

After an error, do run traceback(). And establish first that initGRASS() 
works run in the R session itself rather than in a function (I doubt that 
this is easy to debug).

Roger

PS: Please note that the link to github is *not* the source, it is an 
unauthorised copy, and as maintainer I refuse to consider any references 
to it. The released source is on CRAN, and the development trunk may be 
browsed on R-Forge. Just "thinking" is no use, if you run under debug(), 
give the line number of specific issues.