[GRASS-dev] [GRASS GIS] #1290: WinGrass: v.krige not working due to missing rpy2 pkg for MS Windows

GRASS GIS trac at osgeo.org
Tue Aug 23 06:20:59 PDT 2016


#1290: WinGrass: v.krige not working due to missing rpy2 pkg for MS Windows
---------------------+-------------------------------
  Reporter:  hellik  |      Owner:  grass-dev@…
      Type:  defect  |     Status:  reopened
  Priority:  major   |  Milestone:  7.0.5
 Component:  Vector  |    Version:  svn-develbranch6
Resolution:          |   Keywords:  wingrass, v.krige
       CPU:  x86-32  |   Platform:  MSWindows Vista
---------------------+-------------------------------

Comment (by hellik):

 Replying to [comment:12 martinl]:
 > Still the issue?

 yes.

 before installing osgeo4w 64bit rpy2 2.3.9.:

 {{{
 v.krige
 Loading dependencies, please wait...
 ERROR: Python module 'Rpy2' not found. Please install it and re-run
 v.krige.
 }}}

 after installing osgeo4w 64bit rpy2 2.3.9.:

 {{{
 v.krige
 Loading dependencies, please wait...
 Traceback (most recent call last):
   File
 "C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/v.krige.py",
 line 457, in <module>
     main()
   File
 "C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/v.krige.py",
 line 329, in main
     importR()
   File
 "C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/v.krige.py",
 line 436, in importR
     import rpy2.robjects as robjects
   File "C:\OSGEO4~1\apps\Python27\lib\site-
 packages\rpy2\robjects\__init__.py", line 18, in <module>
     from rpy2.robjects.robject import RObjectMixin, RObject
   File "C:\OSGEO4~1\apps\Python27\lib\site-
 packages\rpy2\robjects\robject.py", line 5, in <module>
     rpy2.rinterface.initr()
 RuntimeError: R_HOME not defined.
 }}}

 it's still a too old rpy2 version in osgeo4w.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1290#comment:13>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list