Rprofile.site in Windows version
You are of course right, library(tools) is not necessary.
Duncan Murdoch wrote:
On 09/02/2008 6:44 PM, Erich Neuwirth wrote:
I think Rprofile.site as installed with R-2.6.2
contains some misleading information.
It contains the following lines
# set a CRAN mirror
# local({r <- getOption("repos")
# r["CRAN"] <- "http://my.local.cran"
# options(repos=r)})'.
Uncommenting these lines and changing the URL
will not work.
'. at the end of the last line will break the execution.
Yes, those shouldn't be there.
Furthermore library(tools) needs to be run before these lines can be run.
Why? local, getOption, and options are all in the base package. Duncan Murdoch
Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459