Any Hello,
Does anyone know what versions of RPy, R, and Python are compatible?
I'm hoping to access RPy for a small, but important, part of a project. I have R 2.1.5.2, Python 2.7.2 in ArcGIS 10.1, and RPy (ver1). I am trying to install RPy2 to give that a try, however could only find a source code version and have never compiled software.
Here's my error:
I've followed the instructions at http://rpy.sourceforge.net/rpy/README and have:
o Python
o R
o Numeric (http://numpy.sf.net)
o win32all, windows extensions from Mark Hammond
(http://starship.python.net/crew/mham...Downloads.html)
o As well as RTools
And have set my path variable as instructed here:
http://gis.stackexchange.com/questio...rpy2-in-arcgis
Any suggestions are much appreciated!
Does anyone know what versions of RPy, R, and Python are compatible?
I'm hoping to access RPy for a small, but important, part of a project. I have R 2.1.5.2, Python 2.7.2 in ArcGIS 10.1, and RPy (ver1). I am trying to install RPy2 to give that a try, however could only find a source code version and have never compiled software.
Here's my error:
Code:
>>> import rpy
Runtime error
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Python27\ArcGIS10.1\lib\site-packages\rpy.py", line 136, in <module>
""" % RVERSION)
RuntimeError: No module named _rpy2152
RPy module can not be imported. Please check if your rpy
installation supports R 2.15.2. If you have multiple R versions
installed, you may need to set RHOME before importing rpy. For
example:
>>> from rpy_options import set_options
>>> set_options(RHOME='c:/progra~1/r/rw2011/')
>>> from rpy import *I've followed the instructions at http://rpy.sourceforge.net/rpy/README and have:
o Python
o R
o Numeric (http://numpy.sf.net)
o win32all, windows extensions from Mark Hammond
(http://starship.python.net/crew/mham...Downloads.html)
o As well as RTools
And have set my path variable as instructed here:
http://gis.stackexchange.com/questio...rpy2-in-arcgis
Any suggestions are much appreciated!