[R] update.packages()

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Aug 1 08:41:42 CEST 2001


On Wed, 1 Aug 2001, Uwe Ligges wrote:

> "Andrew C. Ward" wrote:
> >
> > Dear R users,
> >
> > I am using R Version 1.3.0 (2001-06-22) under Windows 2000 Professional (SP 2).
> >
> > When I try "Packages"->"Update packages from CRAN"
> > the result is something like
> >    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'
> >
> > Opening the same URL in Internet Explorer opens PACKAGES okay. I had the
> > impression (perhaps fanciful) that R used the same settings as IE. I'm less
> > than knowledgeable about (among other things) proxies and sockets etc, but
> > would greatly value your advice on getting this very handy feature working.
>
>
> The default for downloading files is "internal" since R-1.3.0.
> For Windows 2000, you need to use the library
>  ...\rw1030\modules\internet2.dll
> instead of
>  ...\rw1030\modules\internet.dll.
> Simply rename the two files.

I use internet.dll happily on both my Windows 2000 systems.

As ever with Windows, what works seems capricious, which is why there is an
alternative.  In my tests internet.dll was slightly more reliable than
internet2.dll.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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