On Thu, Sep 9, 2010 at 1:14 PM, Joshua Wiley <jwiley.ps...@gmail.com> wrote:
> On Thu, Sep 9, 2010 at 7:05 AM, Bos, Roger <roger....@rothschild.com> wrote:
>> Josh,
>>
>> I liked your idea of setting the repo in the .Rprofile file, so I tried it:
>>
>> r <- getOption("repos")
>> r["CRAN"] <- "http://cran.stat.ucla.edu";
>> options(repos = r)
>> rm(r)

I couldn't understand why to use 4 lines of code... You could try this:

options(repos = "http://cran.stat.ucla.edu";)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to