On 12-04-24 10:43 PM, Duncan Murdoch wrote:
On 12-04-24 4:13 PM, Trevor Miles wrote:
Hi All

I am struggling to get R to read the Rprofile.site file from the R_HOME/etc 
folder.

I know it isn't working because I change the prompt in the Rprofile.site file. In 
addition, when I run "source('R_HOME'/etc/Rprofile.site") from the prompt, the 
prompt gets changed and other environmental variables get set.

Any ideas?

I don't think the documentation has completely caught up, but that would
now normally be put in R_HOME/etc/i386 or R_HOME/etc/x64, depending
which version you're running.

Sorry, that's not quite right. It will look where R_PROFILE says to look, then in the spots mentioned above, but finally will look in R_HOME/etc if a file hasn't already been found. So maybe you have another Rprofile.site file that is being read instead of your new one.

Duncan Murdoch

______________________________________________
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