It "should work" with R-2.7.0.
Two things might be happening here:
- A variable R_HOME is missing
http://rpy.sourceforge.net/rpy2/doc/html/rinterface.html#initialization
- The code in rinterface.__init__() does not handle the situation very
well and should return a more informative error message.
I think Rpy2 needs at least R 2.7.1 and this particular build was
built and verified with R.2.7.2
Laurent Oget
2008/11/7 <[EMAIL PROTECTED]>:
> Hi,
>
> I just tried out rpy2 for the first time:
>
> WinXP
> Python 2.5.2
> Numpy 1.1.1
> R 2.7.0
> rpy2-2.0.0rc1
>
> I get an error when trying this:
Hi,
I just tried out rpy2 for the first time:
WinXP
Python 2.5.2
Numpy 1.1.1
R 2.7.0
rpy2-2.0.0rc1
I get an error when trying this:
>>> import rpy2.robjects as ro
Traceback (most recent call last):
File "", line 1, in
import rpy2.robjects as ro
File "C:\Python25\Lib\site-packages\rpy2
Hi,
Laurent Oget (from Predictix) kindly contributed a win32 binary
installer for Python2.5 / rpy2-2.0.0rc1.
It was just uploaded to the sourceforge site.
L.
-
This SF.Net email is sponsored by the Moblin Your Move Deve