[R] Execution of Rprofile.site

Ross Bowden handel at iinet.net.au
Thu Mar 1 14:39:57 CET 2012


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.

Many thanks

Ross Bowden
PhD Candidate, Maths Department, Murdoch University.



More information about the R-help mailing list