[R] Rprofile.site not executed?

Fernando Saldanha fsaldan1 at gmail.com
Wed Jan 16 14:59:48 CET 2008


It seems that my Rprofile.site file is not executed when I start R. To
test this I included the following code in that file:

 .First <- function(){
 cat("\nWelcome at", date(), "\n")
 flush.console()
}

When I start R the message above is not displayed.

I am running R 2.6.1 (rgui.exe) under Vista Home Premium. The
Rprofile.site is in the etc folder and the R_PROFILE variable has the
value "".

I looked in the help (?Startup) but could not figure out what is
wrong. Any suggestions?

Thanks.

FS




More information about the R-help mailing list