I'm trying to import the rpy1.0.3 module for python2.6.6 using:
from rpy import *
and getting this error:
File "C:\Python26\lib\site-packages\rpy.py", line 58, in <module>
RVERSION = rpy_tools.get_R_VERSION(RHOME)
File "C:\Python26\lib\site-packages\rpy_tools.py", line 103, in get_R_VERSION
raise RuntimeError("Couldn't obtain version number from output\n"
RuntimeError: Couldn't obtain version number from output
of `R --version'.
As stated in the rpy documentation I've set up an environmental variable with the file path to my R directory, but it doesnt seem to be able to recognize the version of R (I have 2.9.0 installed). Any thoughts? Thanks