[R] Execution of Rprofile.site

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Mar 1 19:41:54 CET 2012

On 01.03.2012 14:39, Ross Bowden wrote:
> Hi everyone. I have recently installed R 2.14.1 on my 64-bit Windows 7
> laptop. I am attempting to include some favourite functions in the
> Rprofile.site file to run at R start-up as I did with my previous 32-bit
> XP machine. I have edited the Rprofile.site file in "C:\Program
> Files\R\R-2.14.1\etc\" but the added code doesn't seem to be executed
> when I run R, whether through Tinn-R or independently. Any ideas please
> on what's going wrong? I've searched my laptop and there is only one
> Rprofile.site file. Also Sys.getenv("R_HOME") returns: [1]
> "C:/PROGRA~1/R/R-214~1.1" so R should be able to find the Rprofile.site
> file. Note that Rprofile.site has been modified by Tinn-R.

Have you disabled the Rprofile.site?
What makes you think code is "not executed"?

Uwe Ligges

> Many thanks
> Ross Bowden
> PhD Candidate, Maths Department, Murdoch University.
> ______________________________________________
> 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