Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

the installation of rpy2 an amazon linux via

sudo pip-2.7 install rpy2

fails with

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

Installation by compilation of the source fails in the same manner. sudo python2.7 setup.py install

complete log at: https://gist.github.com/4362543

share|improve this question
add comment

1 Answer

The answer was to install the R-development files with:

sudo yum -y install R-devel
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.