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 ... plot.default -> plot.new -> <Anonymous> -> .External
Execution halted

I have changed permissions in the relative folder but this doesn't seem to
be the issue. I'm still working on that, any ideas ?


2011/9/3 Uwe Ligges <ligges@statistik.tu-dortmund.de>

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

	[[alternative HTML version deleted]]

