[R] calling R from PHP error
Uwe Ligges
ligges at statistik.tu-dortmund.de
Sat Sep 3 19:09:50 CEST 2011
On 02.09.2011 08:23, Katerina Karayianni wrote:
> Hello,
> I am having the following error while calling an R script through PHP.
>
> /usr/local/bin/R: line 227: /kk/Programs/R-2.13.0/etc/ldpaths: Permission
> denied
> ERROR: R_HOME ('/kk/Programs/R-2.13.0') not found
>
> I had compiled R from source and placed the generated R shell script in
> /usr/local/bin.
So you said
make install
or did you copy it manually? The latter may have been your first glitch.
>
> Can you give me an insight of how to give permission to access the ldpaths
> file and why is the R_HOME tree not found?
Does that directory exist?
Do you have read/execute permissions?
Uwe Ligges
> Thank you and regards
>
> [[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