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

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Aug 29 14:45:34 CEST 2001


"Dr. Stephan Martin Rudolfer" wrote:
> 
> 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?


I guess your OS is Win2k (you didn't tell it). 
Try to rename \rw1030\modules\internet2.dll to
\rw1030\modules\internet.dll (and save that one at first). Sometimes
this procedure works...

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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