Menu

#14 ImportError when installing on Mac OS 10.5.8

rpy2-2.0.x
open
nobody
5
2012-07-18
2012-04-05
Anonymous
No

I am having problems installing rpy2-2.2.2 with R 2.15.0 on Mac 10.5.8. I have tried several previous versions of RPy and R but get the same error. I am running Python 2.7.2 via the Enthought distribution and using the spyder interface.

The install via python setup.py build install appears to work fine. However, when I try to test or use rpy, through either
python -m 'rpy2.tests' (from Terminal)
from rpy2.robjects import r (from Python)

I get the following error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/rpy2/robjects/init.py", line 14, in <module>
import rpy2.rinterface as rinterface
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/rpy2/rinterface/init.py", line 78, in <module>
from rpy2.rinterface._rinterface import *
ImportError: dlopen(/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/rpy2/rinterface/_rinterface.so, 2): Symbol not found: _R_NaInt
Referenced from: /Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/rpy2/rinterface/_rinterface.so
Expected in: dynamic lookup

Any help would be appreciated.

Adam

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.