I got this error when using pip to install rpy2
on my computer:
C:\Python27\Scripts>pip install rpy2
Collecting rpy2
Using cached rpy2-2.8.2.tar.gz
Complete output from command python setup.py egg_info:
Warning: Tried to guess R's HOME but no command (R) in the PATH.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\isaac\appdata\local\temp\pip-build-_n5cg0\rpy2\
I think this is just an error with the R
directory on my computer. How do I indicate the correct directory on pip
?
problem resolve, i just download rpy2.whl and add this paths here https://www.reddit.com/r/learnpython/comments/3npm2b/tutorial_how_to_install_rpy2_on_windows_to_bridge/