[R] rpy2 (Python <--> R)

Suzen, Mehmet msuzen at gmail.com
Sun Feb 10 12:36:55 CET 2013


Wrong list. You may want to ask here:
http://rpy.sourceforge.net/maillist.html

But looking at your output it looks like you need to install readline
library sources
or be sure that it is in the CFLAGS's -I

On 10 February 2013 06:06, James Jong <ribonucleico at gmail.com> wrote:
> 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 at 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.



More information about the R-help mailing list