Hi - I am having trouble installing rpy2. I have already compiled R as a
shared library, but I do not have admin privileges on so I am trying to
install rpy2 with:

pip install -user rpy2

but I am getting the following error:

========================================
./rpy/rinterface/_rinterface.c:86:31: fatal error: readline/readline.h: No
such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1
========================================

I have downloaded readline, and compiled it to:

/some/path/readline-6.2

How can I make rpy2 (or pip) aware of this location to avoid this header
compilation error?

James

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to