Re: [R] calling R from PHP error

2011-09-05 Thread Uwe Ligges
On 05.09.2011 09:40, Katerina Karayianni wrote: Yes, you were right about the make install command for R, now it is ok. The new issue is that when the R script is trying to generate a plot file, the following error occurs Error in function (file = ifelse(onefile, "Rplots.pdf", "Rplot%03d.pdf"

Re: [R] calling R from PHP error

2011-09-05 Thread Katerina Karayianni
Yes, you were right about the make install command for R, now it is ok. The new issue is that when the R script is trying to generate a plot file, the following error occurs Error in function (file = ifelse(onefile, "Rplots.pdf", "Rplot%03d.pdf"), : cannot open file 'Rplots.pdf' Calls: plot .

Re: [R] calling R from PHP error

2011-09-03 Thread Uwe Ligges
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 pla

[R] calling R from PHP error

2011-09-02 Thread Katerina Karayianni
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.