[R-sig-Geo] grass.script not found in R+grass7 session
Roger Bivand
Roger.Bivand at nhh.no
Fri Jan 11 18:37:23 CET 2013
On Fri, 11 Jan 2013, Jean-Baptiste wrote:
> Hi listers,
>
> I am working on Ubuntu 12.04, R 2.15.2, GRASS 7.0. All function work fine in
> a classic GRASS session.
>
> I am trying to run GRASS interface in an R session with spgrass6 and
> initGRASS function. When I am used a grass function with command system(), I
> am getting the following error message :
> "ImportError: No module named grass.script"
>
> I checked python path from the GRASS terminal and getting the following
> message :
> /usr/local/grass-7.0.svn/etc/python
>
> Any idea on how to fix this problem?
None at all, with this level of detail in your account. A simple
reproducible example is needed (at least with the SVN revision number of
GRASS 7, it is the development version, and moves fast). You haven't
included any details of the offending R code, or of the versions of
packages (output of sessionInfo()). Finally, the right list is:
http://lists.osgeo.org/mailman/listinfo/grass-stats
for this kind of detailed question.
Roger
> Thanks,
>
> Jean-Baptiste
>
>
>
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/grass-script-not-found-in-R-grass7-session-tp7582292.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list