[R-sig-Debian] Rpy not working after upgrade to R2.9.1

Dirk Eddelbuettel edd at debian.org
Thu Jul 9 17:54:00 CEST 2009


Paul,

On 9 July 2009 at 13:46, Paul Geeleher wrote:
| Hi,
| 
| I'm running Ubuntu Jaunty, downloading R and Rpy from this repository:
| 
| deb http://cran.uk.r-project.org/bin/linux/ubuntu jaunty/
| 
| When was automatically upgraded, Rpy (which should be downloaded from
| the same repository) seems to have stopped working. I've tried
| re-installing the python-rpy package manually. I get the following
| error when I try to import rpy:
| 
| 
| >>> 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 _rpy2091
| 
|       RPy module can not be imported. Please check if your rpy
|       installation supports R 2.9.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 *
| 
| 
| 
| Advice on how to proceed would be greatly appreciated.

Sorry -- rpy (as opposed to rpy2) requires a rebuild each time the R version
changes, and I had not yet built one so I presume that the Ubuntua builds by
Vincent and Michael that are distributed via CRAN were also still behind.

I just uploaded 1.0.3-8 to Debian, the CRAN builds should get updated in the
next few days.  In the meantime, you could install from source.

Dirk

 
| -- 
| Paul Geeleher
| School of Mathematics, Statistics and Applied Mathematics
| National University of Ireland
| Galway
| Ireland
| 
| _______________________________________________
| R-SIG-Debian mailing list
| R-SIG-Debian at r-project.org
| https://stat.ethz.ch/mailman/listinfo/r-sig-debian

-- 
Three out of two people have difficulties with fractions.



More information about the R-SIG-Debian mailing list