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
On 13.04.2012 06:25, Spencer Graves wrote:> 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.See ?Rprofile.site: On systems with sub-architectures (mainly Mac OS X and Windows), the files ?Renviron.site? and ?Rprofile.site? are looked for first in architecture-specific directories, e.g. ?R_HOME/etc/i386/Renviron.site?. Uwe Ligges> > 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 > > >