[R] update.packages()

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Sun May 12 15:34:21 CEST 2002


On Sun, 12 May 2002, syed gillani wrote:

> Hello all,
>
> I am running R 1.5.0 on a Pentium 4 1.5 GHz machine running Windows XP
> Professional.
>
> update.packages() doesn't work for me.
>
> For a while it goes quiet an then I get the following message:
>
>
> 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'
>
> What should I do?

Read the documentation, of course.  Try ?download.file for a start.

Can you access cran.r-project.org in a web browser?   I don't know
where .sa is, but I think you should be using a mirror site.

Do you need to set a proxy, for example?  Does it work if you start with
--internet2?

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