rpy2 import issue

Issue #167 resolved
Former user created an issue
[root@node13 rpy2-2.3.8]#  python2.7 rpy/tests.py
rpy2 version: 2.3.8
built against R version: 2-15.3--139747217104913
Error in .Call("R_isMethodsDispatchOn", onOff, PACKAGE = "base") : 
  "R_isMethodsDispatchOn" not available for .Call() for package "base"
Traceback (most recent call last):
  File "rpy/tests.py", line 9, in <module>
    import rpy2.robjects.tests
  File "/usr/local/lib/python2.7/site-packages/rpy2/robjects/__init__.py", line 18, in <module>
    from rpy2.robjects.robject import RObjectMixin, RObject
  File "/usr/local/lib/python2.7/site-packages/rpy2/robjects/robject.py", line 9, in <module>
    class RObjectMixin(object):
  File "/usr/local/lib/python2.7/site-packages/rpy2/robjects/robject.py", line 22, in RObjectMixin
    __show = rpy2.rinterface.baseenv.get("show")
LookupError: 'show' not found

who can help me fix this problem?thanks.

Comments (2)

  1. Laurent Gautier
    • edited description

    Would you consider running the tests as recommended:

    python -m rpy2.tests


  2. Laurent Gautier

    Anonymous bug report. No answer to request for additional details, seems to be otherwise working for others, and mixup between R versions (or R version too old).


  3. Log in to comment