Charles Annis, P.E.
2006-Oct-20 20:19 UTC
[R] R-2.4.0 and MS Vista OS - installing packages
I have installed Microsoft Vista Release Candidate 1, and R-2.4.0, on a 4 year old DELL box with a 2.26 GHz P4 and 1 gig. It was a clean install ? R is the only non-MS program running. I cannot install packages from CRAN, nor from local zipped files. (I have R-2.4.0 installed on a Windows XP machine and have had no problems so the difficulty seems to be Vista not R, however they aren't playing together nicely as they should.) The CRAN installation of R-2.4.0 on the Vista machine was without incident, but after downloading the zipped packages from CRAN I get this error message:> utils:::menuInstallPkgs()trying URL 'http://cran.us.r-project.org/bin/windows/contrib/2.4/RColorBrewer_0.2-3.zip ' Content type 'application/zip' length 39787 bytes opened URL downloaded 38Kb Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program Files/R/R-2.4.0/library/file6fc97ac2/RColorBrewer/chtml/RColorBrewer.chm'>Any help would be appreciated. Thanks. Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com phone: 561-352-9699 eFax:? 614-455-3265 http://www.StatisticalEngineering.com ?
"Charles Annis, P.E." <Charles.Annis at statisticalengineering.com> writes:> I have installed Microsoft Vista Release Candidate 1, and R-2.4.0, on a 4 > year old DELL box with a 2.26 GHz P4 and 1 gig. It was a clean install ? R > is the only non-MS program running. > > I cannot install packages from CRAN, nor from local zipped files. (I have > R-2.4.0 installed on a Windows XP machine and have had no problems so the > difficulty seems to be Vista not R, however they aren't playing together > nicely as they should.) > > The CRAN installation of R-2.4.0 on the Vista machine was without incident, > but after downloading the zipped packages from CRAN I get this error > message: > > > > utils:::menuInstallPkgs() > trying URL > 'http://cran.us.r-project.org/bin/windows/contrib/2.4/RColorBrewer_0.2-3.zip > ' > Content type 'application/zip' length 39787 bytes > opened URL > downloaded 38Kb > > Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program > Files/R/R-2.4.0/library/file6fc97ac2/RColorBrewer/chtml/RColorBrewer.chm' > > > > Any help would be appreciated. Thanks.Not claiming any expertise on Windows or (in particular) Vista, but what happens if you install R to a directory without a space in its name? Or perhaps there's a permission issue. Try installing to a subdirectory of your home directory. -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
This week's eweek has an article on Vista's security and system administration--I'm guessing (a Linux user guess) that you are running afoul of Vista's User Account Control feature. Clint Bowman INTERNET: clint at ecy.wa.gov Air Dispersion Modeler INTERNET: clint at math.utah.edu Air Quality Program VOICE: (360) 407-6815 Department of Ecology FAX: (360) 407-7534 USPS: PO Box 47600, Olympia, WA 98504-7600 Parcels: 300 Desmond Drive, Lacey, WA 98503-1274 On Fri, 20 Oct 2006, Charles Annis, P.E. wrote:> I have installed Microsoft Vista Release Candidate 1, and R-2.4.0, on a 4 > year old DELL box with a 2.26 GHz P4 and 1 gig. It was a clean install ? R > is the only non-MS program running. > > I cannot install packages from CRAN, nor from local zipped files. (I have > R-2.4.0 installed on a Windows XP machine and have had no problems so the > difficulty seems to be Vista not R, however they aren't playing together > nicely as they should.) > > The CRAN installation of R-2.4.0 on the Vista machine was without incident, > but after downloading the zipped packages from CRAN I get this error > message: > > > > utils:::menuInstallPkgs() > trying URL > 'http://cran.us.r-project.org/bin/windows/contrib/2.4/RColorBrewer_0.2-3.zip > ' > Content type 'application/zip' length 39787 bytes > opened URL > downloaded 38Kb > > Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program > Files/R/R-2.4.0/library/file6fc97ac2/RColorBrewer/chtml/RColorBrewer.chm' > > > > Any help would be appreciated. Thanks. > > > Charles Annis, P.E. > > Charles.Annis at StatisticalEngineering.com > phone: 561-352-9699 > eFax:? 614-455-3265 > http://www.StatisticalEngineering.com > ? > > ______________________________________________ > R-help at stat.math.ethz.ch 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. >
On 10/20/2006 4:19 PM, Charles Annis, P.E. wrote:> I have installed Microsoft Vista Release Candidate 1, and R-2.4.0, on a 4 > year old DELL box with a 2.26 GHz P4 and 1 gig. It was a clean install ? R > is the only non-MS program running.I normally try to support people who are using R in Windows, but I don't have plans to get Vista any time soon. So it would be appreciated if anyone else out there who does plan to use Vista would volunteer their help in supporting it. In the meantime, I suppose you should report this error to Microsoft. Duncan Murdoch> > I cannot install packages from CRAN, nor from local zipped files. (I have > R-2.4.0 installed on a Windows XP machine and have had no problems so the > difficulty seems to be Vista not R, however they aren't playing together > nicely as they should.) > > The CRAN installation of R-2.4.0 on the Vista machine was without incident, > but after downloading the zipped packages from CRAN I get this error > message: > > >> utils:::menuInstallPkgs() > trying URL > 'http://cran.us.r-project.org/bin/windows/contrib/2.4/RColorBrewer_0.2-3.zip > ' > Content type 'application/zip' length 39787 bytes > opened URL > downloaded 38Kb > > Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program > Files/R/R-2.4.0/library/file6fc97ac2/RColorBrewer/chtml/RColorBrewer.chm' > > Any help would be appreciated. Thanks. > > > Charles Annis, P.E. > > Charles.Annis at StatisticalEngineering.com > phone: 561-352-9699 > eFax: 614-455-3265 > http://www.StatisticalEngineering.com > > > ______________________________________________ > R-help at stat.math.ethz.ch 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.