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

Duncan Murdoch murdoch at stats.uwo.ca
Wed Aug 29 17:29:26 CEST 2001


On Wed, 29 Aug 2001 12:17:59 BST, you wrote in message
<7A8EDC417C3 at fs2.ma.man.ac.uk>:

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

Notice you've got two slashes after the site name.  I suspect what you
want is 

 options(CRAN="http://cran.us.r-project.org")

and indeed the default for that option has no trailing backslash:

> options('CRAN')
$CRAN
[1] "http://cran.r-project.org"


Duncan Murdoch

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