From hb at biostat.ucsf.edu  Tue Jan 27 19:15:36 2015
From: hb at biostat.ucsf.edu (Henrik Bengtsson)
Date: Tue, 27 Jan 2015 10:15:36 -0800
Subject: [Rd] problem with update.packages() in R-Devel (3.2.0) on
	Windows
In-Reply-To: <002401d03991$25a38920$70ea9b60$@mcmaster.ca>
References: <002401d03991$25a38920$70ea9b60$@mcmaster.ca>
Message-ID: <CAFDcVCQ11MSrRgqDShSZrTfDayharqx0L90Fxws8HkUSfJwxfw@mail.gmail.com>

It works again using:

% R --version
R Under development (unstable) (2015-01-26 r67627) -- "Unsuffered
Consequences"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

/Henrik

On Mon, Jan 26, 2015 at 9:54 AM, John Fox <jfox at mcmaster.ca> wrote:

> Dear all,
>
> I've noticed the following problem for the past several days:
>
> ---------------- snip ----------------
> > update.packages(ask=FALSE)
>
> . . .
>
> trying URL 'http://cran.utstat.utoronto.ca/src/contrib/zoo_1.7-11.zip'
> Error in download.file(url, destfile, method, mode = "wb", ...) :
>   cannot open URL
> 'http://cran.utstat.utoronto.ca/src/contrib/zoo_1.7-11.zip'
> In addition: Warning message:
> In download.file(url, destfile, method, mode = "wb", ...) :
>   cannot open: HTTP status was '404 Not Found'
> Warning in download.packages(pkgs, destdir = tmpd, available = available,
> :
>   download of package 'zoo' failed
>
> ---------------- snip ----------------
>
> Apparently, the subdirectory for the version number (/3.2) is missing from
> the URL. OTOH, install.packages() works fine:
>
> ---------------- snip ----------------
>
> > install.packages("zoo")
> trying URL
> 'http://cran.utstat.utoronto.ca/bin/windows/contrib/3.2/zoo_1.7-11.zip'
> Content type 'application/zip' length 878614 bytes (858 KB)
> opened URL
> downloaded 858 KB
>
> package 'zoo' successfully unpacked and MD5 sums checked
>
> The downloaded binary packages are in
>         C:\Users\John Fox\AppData\Local\Temp\RtmpuKqvB0\downloaded_packages
>
> ---------------- snip ----------------
>
> Session info:
>
> ---------------- snip ----------------
>
> > sessionInfo()
> R Under development (unstable) (2015-01-25 r67615)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 7 x64 (build 7601) Service Pack 1
>
> locale:
> [1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252
> [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C
> [5] LC_TIME=English_Canada.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> loaded via a namespace (and not attached):
> [1] tools_3.2.0
>
> ---------------- snip ----------------
>
> Best,
>  John
>
> -------------------------------------------------------
> John Fox, Professor
> McMaster University
> Hamilton, Ontario, Canada
> http://socserv.mcmaster.ca/jfox/
>
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> http://www.avast.com
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

	[[alternative HTML version deleted]]



[Rd] problem with update.packages() in R-Devel (3.2.0) on Windows
Henrik Bengtsson