I have the latest Anaconda Python distribution installed on Windows 8 and I'm trying to install the rpy2 package. At first, I ran into several problems that I was able to work around, but now I am stuck in one specific error, which I am inserting below.
Team
pip install rpy2
comes out with the following error message:
In file included from .\rpy\rinterface\_rinterface.c:58:0:
.\rpy\rinterface\_rinterface.h:8:15: fatal error: R.h: No such file or
directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Any suggestions? The path to Rh is included in my environment.
source
share