[Rd] Ubuntu Hardy python-rpy package missing _rpy2092 (PR#13962)

dennisr at wi.mit.edu dennisr at wi.mit.edu
Mon Sep 21 18:50:16 CEST 2009


Full_Name: Dennis Ristuccia
Version: R version 2.9.2 (2009-08-24)
OS: Ubuntu Hardy 8.04
Submission from: (NULL) (18.157.249.21)


Hi guys,

I'm running into an issue with the python-rpy ubuntu hardy package.

Heres the output:

root at tak ~# python
Python 2.5.2 (r252:60911, Jul 22 2009, 15:35:03) 
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/rpy.py", line 134, in <module>
    """ % RVERSION)
RuntimeError: No module named _rpy2092

      RPy module can not be imported. Please check if your rpy
      installation supports R 2.9.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 checked in /usr/lib/python2.5/site-packages/ and there is only _rpy2091.so -
_rpy2092.so is missing.

I experienced the same issue the last time I upgraded R from the hardy mirror
you guys have. I ended up doing some hackery by using the debian lenny
python-rpy package, I'd rather avoid that this time around.

Thanks

--
DennisR



More information about the R-devel mailing list