[R] Error message while trying to update packages: Error in gzfile(file, mode) : unable to open connection

From: Bob Green <bgreen_at_dyson.brisnet.org.au>
Date: Sat, 08 Mar 2008 19:46:34 +1000

Hello,

  I have just installed v 2.6.2 on a new computer running Windows XP and tried to perform 'update packages' via the menu option on the R console.

Any advice on the following problem is much appreciated.

Bob

Below are the warning and error messages received. A search of the hard drive does not reveal any file including "RtmpgMMu03/libloc" .

> update.packages(ask='graphics')

--- Please select a CRAN mirror for use in this session --- Warning: unable to access index for repository http://cran.au.r-project.org/bin/windows/contrib/2.6 Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.6 Error in gzfile(file, mode) : unable to open connection In addition: Warning message:
In gzfile(file, mode) :

   cannot open compressed file
'C:\DOCUME~1\Bob\LOCALS~1\Temp\RtmpgMMu03/libloc_C%3a%2fPROGRA%7e1%2fR%2fR-26%7e1.2%2flibraryVersion,Priority,Bundle,Contains,Depends,Imports,Suggests,Built.rds', probable reason 'No such file or directory'
> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)}) Loading required package: filehash
Error: package 'filehash' could not be loaded In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :

   there is no package called 'filehash'



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 08 Mar 2008 - 09:50:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 08 Mar 2008 - 11:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive