[R] Rprofile.site?

Spencer Graves spencer.graves at structuremonitoring.com
Fri Apr 13 06:25:11 CEST 2012


Hello:


       I've been using "Rprofile.site" for several years to set the 
repos environment variable as follows:


options(repos=c(CRAN='http://cran.cnr.berkeley.edu',
                 CRANextra='http://www.stats.ox.ac.uk/pub/RWin') )


       However, R 2.15.0 is not recognizing this.  Instead, I get the 
following:


  options('repos')
$repos
                                 CRAN                            CRANextra
                             "@CRAN@" "http://www.stats.ox.ac.uk/pub/RWin"


       An R icon give "C:\Program Files\R\R-2.15.0\bin\x64\Rgui.exe", 
and my "Rprofile.site" file containing the above options is in 
"C:\Program Files\R\R-2.15.0\etc".


       Any suggestions on how I can how I can get R 2.15.0 to read my 
"Rprofile.site"?  See "sessionInfo()" below.


       Thanks,
       Spencer


  sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-pc-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base



-- 
Spencer Graves, PE, PhD
President and Chief Technology Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph:  408-655-4567
web:  www.structuremonitoring.com



More information about the R-help mailing list