Public bug reported:

In the Python interpreter, we get the following trace by importing the
rpy module:

>>> import rpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/rpy.py", line 134, in <module>
    """ % RVERSION)
RuntimeError: No module named _rpy2111

      RPy module can not be imported. Please check if your rpy
      installation supports R 2.11.1. 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 *


Indeed, the rpy package is built for R 2.11.0, and not R 2.11.1 that is shipped 
with Ubuntu Maverick.

$ dpkg -L python-rpy | grep -e "_rpy.*\.so"
/usr/lib/python2.6/dist-packages/_rpy2110.so


A fix has been released in Debian few months ago, in source version 1.0.3-15.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-rpy 1.0.3-14
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Thu Oct 28 15:23:04 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: rpy

** Affects: rpy (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rpy (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: apport-bug i386 maverick

-- 
rpy python module does not support the R shipped version (2.11.1)
https://bugs.launchpad.net/bugs/667795
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to