Re: [R] does rpy support R 2.12.2

From: José Matos <jaomatos_at_gmail.com>
Date: Wed, 02 Mar 2011 16:19:19 +0000

On Tuesday 01 March 2011 23:36:20 Pete Shepard wrote:
> Hi,
>
> I am getting the following error when I try to run import rpy from the the
> python IDE:
>
> 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 _rpy2122
>
> RPy module can not be imported. Please check if your rpy
> installation supports R 2.12.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 am wondering if rpy supports R 2.12.2?
>
> Thanks

Yes it does but you need to recompile it for the new R version.

FWIW your example above is strange in the sense that you are using a linux version and passing it a windows path... regardless it does not work because the installed rpy was compiled against a previous version of R.

I hope it helps,

-- 
José Abílio

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 02 Mar 2011 - 16:31:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Mar 2011 - 16:40:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive