This on Win vista R (Version R2.12.0<<< I see that the rev date on this is newer than rpy? is there and working via the GUI
rpy ver rpy-1.0.3-R-2.9.0-R-2.9.1-win32-py2.6
Have added the path to the environment...
from rpy import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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'.</module></module></stdin>
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
The version error is due to a bug in rpy_tools.py
Line 101 should be this:
version = re.search(" +([0-9].[0-9]+.[0-9])", output)
(Add a plus after the second set of square brackets)
Last edit: Anonymous 2013-11-20