Re: [R] Problem with R-2.1.0: install.packages() doesn't work

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Sat 23 Apr 2005 - 01:55:31 EST

Roger D. Peng wrote:

> What happens if you don't set the 'CRAN' option via 'options()' first > and just run 'install.packages()'?

Should be the same as long as no CRAN mirror has been choosen and X11 is not accessible (see my other message). The code needs to be a bit more defensive here - or present a better error message.

Uwe Ligges

> -roger
> 
> Waichler, Scott R wrote:
> 

>> I installed R-2.1.0 from source on a Linux box running Red Hat
>> Enterprise Linux WS release 4 but install.packages() wouldn't work (see
>> below). When I install R-2.0.1 from RPM on the same system, everything
>> is fine.
>>
>> Version 2.1.0 (2005-04-18), ISBN 3-900051-07-0
>> . . .
>>
>>> options(CRAN = "http://cran.fhcrc.org/")
>>> install.packages("rgenoud")
>>
>>
>> --- Please select a CRAN mirror for use in this session ---
>> Error in inherits(x, "factor") : Object "res" not found
>>
>>
>> Scott Waichler
>> Pacific Northwest National Laboratory
>> scott.waichler@pnl.gov
>>
>> ______________________________________________
>> R-help@stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide!
>> http://www.R-project.org/posting-guide.html
>>
> 
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Apr 23 02:08:45 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:22 EST