rpy.tests fails on 'R_has_slot' error

Issue #69 invalid
Nicholas Crawford created an issue

I can't seem to find a fix on the interwebs. Any ideas?

R version 2.12.2 (2011-02-25) and I installed it with: ./configure --enable-R-shlib

{{{ #!python

python -m 'rpy2.tests' Traceback (most recent call last): File "/usr/local/IT/python-2.6.5/lib/python2.6/runpy.py", line 122, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/local/IT/python-2.6.5/lib/python2.6/runpy.py", line 34, in _run_code exec code in run_globals File "build/bdist.linux-x86_64/egg/rpy2/tests.py", line 3, in <module> File "build/bdist.linux-x86_64/egg/rpy2/robjects/init.py", line 14, in <module>

File "build/bdist.linux-x86_64/egg/rpy2/rinterface/init.py", line 75, in <module>

File "build/bdist.linux-x86_64/egg/rpy2/rinterface/rinterface.py", line 7, in <module> File "build/bdist.linux-x86_64/egg/rpy2/rinterface/rinterface.py", line 6, in bootstrap ImportError: /usr3/graduate/ngcrawfo/.python-eggs/rpy2-2.1.9_20110327-py2.6-linux-x86_64.egg-tmp/rpy2/rinterface/rinterface.so: undefined symbol: R_has_slot

}}}

Comments (2)

  1. Laurent Gautier

    Seems like have you are having a mix-up of installs between rpy2 and R, and that at runtime your are linking to an older R library somewhere on the system (and the workarounds are out there).

  2. Log in to comment