Updating Packages (was Re: [R] Reading of a large SAS Export dat

Dr. Stephan Martin Rudolfer stephan at fs2.ma.man.ac.uk
Wed Aug 29 12:17:59 CEST 2001


It was suggested to me that, although I've installed version 1.3.0 of 
R, the contained foreign package won't be the most recent.  Hence, 
it's worth using update.package().  However, when I did that, I got 
the following log file:

> options(CRAN="http://cran.us.r-project.org/")
> update.packages()
trying URL `http://cran.us.r-project.org//bin/windows/contrib/PACKAGES'
unable to connect to 'cran.us.r-project.org'.
Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"),  : 
        cannot open URL `http://cran.us.r-project.org//bin/windows/contrib/PACKAGES'
>
> options(CRAN="http://cran.r-project.org/")
> update.packages()
trying URL `http://cran.r-project.org//bin/windows/contrib/PACKAGES'
unable to connect to 'cran.r-project.org'.
Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"),  : 
        cannot open URL `http://cran.r-project.org//bin/windows/contrib/PACKAGES'
>

The first URL was inaccessible with Netscape. Yet when I directly 
accessed the second URL using Netscape, it worked perfectly, with the 
following result (severely edited to save space):

Package: bootstrap
Version: 1.0-7

Package: foreign
Priority: recommended
Version: 0.4-7

Could you please explain what I have to do to get download.file to 
work correctly?

Many thanks,
Stephan Rudolfer



******************************************************************************************
* Dr. Stephan M. Rudolfer  Office tel: +44 161 275 5912                                  *
*     Chairman, Manchester Group, Royal Statistical Society                              *
* Mathematics Department   Dept. tel: +44 161 275 5800                                   * 
* The University           Fax      : +44 161 275 5819                                   * 
* MANCHESTER M13 9PL       Email    : s.m.rudolfer at man.ac.uk                             *
* UK                       WWW      : http://www.maths.man.ac.uk/DeptWeb/Homepages/smr/  * 
******************************************************************************************


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list