rpy python module does not support the R shipped version (2.11.1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpy (Debian) |
Fix Released
|
Unknown
|
|||
rpy (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Bug Description
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/
""" % 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(
>>> 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/
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
ProcVersionSign
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
Changed in rpy (Debian): | |
status: | Unknown → Fix Released |
MikeM is also experiencing this bug (cf. question 131480), so I marked it as confirmed.