From erich.neuwirth at univie.ac.at  Thu Feb 14 01:15:56 2008
From: erich.neuwirth at univie.ac.at (Erich Neuwirth)
Date: Thu, 14 Feb 2008 01:15:56 +0100
Subject: [Rd] Rprofile.site in Windows version
In-Reply-To: <47AE6962.30707@stats.uwo.ca>
References: <47AE3AF8.4000906@univie.ac.at> <47AE6962.30707@stats.uwo.ca>
Message-ID: <47B3883C.5020005@univie.ac.at>

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



[Rd] Rprofile.site in Windows version
Erich Neuwirth