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

GRASS GIS trac at osgeo.org
Sun Jan 3 13:27:32 PST 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.4
 Component:  Vector  |    Version:  svn-develbranch6
Resolution:          |   Keywords:  wingrass, v.krige
       CPU:  x86-32  |   Platform:  MSWindows Vista
---------------------+-------------------------------
Changes (by hellik):

 * status:  closed => reopened
 * resolution:  wontfix =>
 * milestone:  6.5.0 => 7.0.4


Comment:

 Replying to [comment:7 hellik]:
 >
 > {{{
 > v.krige
 > Loading dependencies, please wait...
 > ERROR: Python module 'Rpy2' not found. Please install it and re-run
 v.krige.
 > }}}

 available rpy2 package in osgeo4w:

 {{{
 osgeo4w 32bit
 rpy2 2.3.9.

 osgeo4w 64bit
 rpy2 2.3.9.
 }}}

 from https://pypi.python.org/pypi/rpy2

 {{{
 rpy2 2.7.6
 }}}

 with these old packages in osgeo4w, there is still the same issue that
 R.dll can't be found:

 {{{
 v.krige
 Loading dependencies, please wait...
 Traceback (most recent call last):
   File
 "C:\OSGEO4~2\apps\grass\grass-7.0.3RC1/scripts/v.krige.py",
 line 424, in <module>
     main()
   File
 "C:\OSGEO4~2\apps\grass\grass-7.0.3RC1/scripts/v.krige.py",
 line 302, in main
     importR()
   File
 "C:\OSGEO4~2\apps\grass\grass-7.0.3RC1/scripts/v.krige.py",
 line 403, in importR
     import rpy2.robjects as robjects
   File "C:\OSGEO4~2\apps\Python27\lib\site-
 packages\rpy2\robjects\__init__.py", line 15, in <module>
     import rpy2.rinterface as rinterface
   File "C:\OSGEO4~2\apps\Python27\lib\site-
 packages\rpy2\rinterface\__init__.py", line 90, in <module>
     raise RuntimeError("Unable to locate R.dll within %s" %
 R_HOME)
 RuntimeError: Unable to locate R.dll within
 C:\PROGRA~1\R\R-32~1.3
 }}}

 reopen the ticket as: if a newer rpy2 package may be available in osgeo4w,
 this issue may be solved.

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



More information about the grass-dev mailing list