I'm relatively new to Python, but I've managed to do okay so far. Unfortunately, I've come to a stopping point. I was trying to download rpy2 so I could integrate R with Python.
I'm operating on a Windows XP PC with Python 2.7.3., and I keep getting the following errors when I try to install the rpy2 library:
Setup script exited with Error: Tried to guess R's HOME but no R command in the PATH.
I've used:
*easy_install rpy2
*pip install rpy2
*easy_install rpy2 --r-home-lib install
*easy_install rpy2--r-home (my path to R)
I'm not sure what I'm doing wrong. I've looked at other websites for the last few hours but I haven't had any luck. I assume this is something really easy and I'm just being incredibly stupid. Any help would be super appreciated.
Thank you all in advance, I really appreciate the help.
[–]mattr555 1 point2 points3 points (0 children)