0
安裝RPY使用上http://sourceforge.net/projects/rpy/files/latest/download?source=directory
進口RPY給我都試過錯誤
下載我得到這個錯誤:
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.
這是爲什麼hapenning和我怎樣才能阻止它?
你已經安裝了R' –
是的,我今天安裝它 – user2784753
如果你打開你的cmd.exe你可以鍵入R並讓它進入R?您可能只需將其添加到您的路徑中。 –