Scotty Nelson
2008-May-01 07:26 UTC
[R] Installing Packages in Windows Vista -- YES I tried Run as Administrator
I'm having trouble installing packages in Windows Vista. It's driving me nuts. I read all the threads and I have tried the following: 1) Right click on R and Run as Administrator 2) Turn off User Account Control 3) Toss machine across room (OK haven't tried this one yet, but I'm close) Here is the R error messages I am getting --- Please select a CRAN mirror for use in this session --- trying URL 'http://cran.stat.ucla.edu/bin/windows/contrib/2.6/boot_1.2-32.zip' Content type 'application/zip' length 777751 bytes (759 Kb) opened URL downloaded 32 Kb Error in gzfile(file, "r") : unable to open connection In addition: Warning messages: 1: In download.file(url, destfile, method, mode = "wb") : downloaded length 33219 != reported length 777751 2: In zip.unpack(pkg, tmpDir) : error 1 in extracting from zip file 3: In gzfile(file, "r") : cannot open compressed file 'boot/DESCRIPTION', probable reason 'No such file or directory' Can anybody help? My presentation is in 14 hours and right now I'm thin on results. THANK YOU THANK YOU THANK YOU! -- Scotty -- View this message in context: http://www.nabble.com/Installing-Packages-in-Windows-Vista----YES-I-tried-Run-as-Administrator-tp16993043p16993043.html Sent from the R help mailing list archive at Nabble.com.
Prof Brian Ripley
2008-May-01 08:24 UTC
[R] Installing Packages in Windows Vista -- YES I tried Run as Administrator
Your issue is a corrupt download. Try another CRAN mirror. In any case, the current version of R includes that version of boot, so you need to update (before posting, as the posting guide asked you to). On Thu, 1 May 2008, Scotty Nelson wrote:> > I'm having trouble installing packages in Windows Vista. It's driving me > nuts. > I read all the threads and I have tried the following: > > 1) Right click on R and Run as Administrator > 2) Turn off User Account Control > 3) Toss machine across room (OK haven't tried this one yet, but I'm close) > > Here is the R error messages I am getting > > --- Please select a CRAN mirror for use in this session --- > trying URL > 'http://cran.stat.ucla.edu/bin/windows/contrib/2.6/boot_1.2-32.zip' > Content type 'application/zip' length 777751 bytes (759 Kb) > opened URL > downloaded 32 Kb > > Error in gzfile(file, "r") : unable to open connection > In addition: Warning messages: > 1: In download.file(url, destfile, method, mode = "wb") : > downloaded length 33219 != reported length 777751^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you not see that?> 2: In zip.unpack(pkg, tmpDir) : error 1 in extracting from zip file > 3: In gzfile(file, "r") : > cannot open compressed file 'boot/DESCRIPTION', probable reason 'No such > file or directory' > > Can anybody help? My presentation is in 14 hours and right now I'm thin on > results. > > THANK YOU THANK YOU THANK YOU! > > -- Scotty > -- > View this message in context: http://www.nabble.com/Installing-Packages-in-Windows-Vista----YES-I-tried-Run-as-Administrator-tp16993043p16993043.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >-- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Mark Difford
2008-May-01 20:22 UTC
[R] Installing Packages in Windows Vista -- YES I tried Run as Administrator
Hi Scotty, Can't give an answer from what you've provided, but one temp. work-around that might work is to get onto CRAN -- packages and download the packages you need from your web browser as zip files, then do an "Install package(s) from local zip files..." from the Packages menu. HTH, Mark. Scotty Nelson wrote:> > I'm having trouble installing packages in Windows Vista. It's driving me > nuts. > I read all the threads and I have tried the following: > > 1) Right click on R and Run as Administrator > 2) Turn off User Account Control > 3) Toss machine across room (OK haven't tried this one yet, but I'm close) > > Here is the R error messages I am getting > > --- Please select a CRAN mirror for use in this session --- > trying URL > 'http://cran.stat.ucla.edu/bin/windows/contrib/2.6/boot_1.2-32.zip' > Content type 'application/zip' length 777751 bytes (759 Kb) > opened URL > downloaded 32 Kb > > Error in gzfile(file, "r") : unable to open connection > In addition: Warning messages: > 1: In download.file(url, destfile, method, mode = "wb") : > downloaded length 33219 != reported length 777751 > 2: In zip.unpack(pkg, tmpDir) : error 1 in extracting from zip file > 3: In gzfile(file, "r") : > cannot open compressed file 'boot/DESCRIPTION', probable reason 'No such > file or directory' > > Can anybody help? My presentation is in 14 hours and right now I'm thin > on results. > > THANK YOU THANK YOU THANK YOU! > > -- Scotty >-- View this message in context: http://www.nabble.com/Installing-Packages-in-Windows-Vista----YES-I-tried-Run-as-Administrator-tp16993043p16995041.html Sent from the R help mailing list archive at Nabble.com.
Reasonably Related Threads
- R cannot access the web?
- Reading gz compressed csv file - 'incomplete line found'
- Help reading installed packages in Vista
- FW: Installing BRugs
- rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''