我尝试使用下载安装 rpyhttp://sourceforge.net/projects/rpy/files/latest/download?source=directory
我收到此错误:
from rpy import *
Unable to determine R version from the registry. Trying another method.
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
from rpy import *
File "C:\Python27\lib\site-packages\rpy.py", line 53, in <module>
RHOME = rpy_tools.get_R_HOME()
File "C:\Python27\lib\site-packages\rpy_tools.py", line 57, in get_R_HOME
raise RuntimeError("Couldn't execute the R interpreter.\n"
RuntimeError: Couldn't execute the R interpreter.
Check whether R is in the execution path.
为什么会发生这种情况,我该如何阻止它?