[R] installing packages and windows vista
Peter Dalgaard
P.Dalgaard at biostat.ku.dk
Tue Feb 6 17:17:10 CET 2007
Daniel O'Shea wrote:
> I installed R (R-2.4.1-win32.exe) on a new computer with Windows Vista
> and a 64 bit operating system (hp dv9000 with intel core t7200). The
> base R runs fine, but I can not get any of the packages to load. From
> within R I choose install packages choose a site then a package. I
> tried installing 2 packages and get similar errors (see below), I just
> copied and pasted lines from R.
>
> Can anyone offer any suggestions? Thank you.
>
>
Hmm. As you might realize, there is as yet very little experience with
Vista to go around. Prepare to be quizzed...
The immediate suspicions would be permission problems. You might
consider changing directory to "My Documents/R" or whatever the
equivalent is on Vista, before you start installation (make sure it
exists, of course). You might also try something like
install.packages("ISwR", lib="mylib")
Again, first make sure that the directory exists. (Reason for suggesting
ISwR is that I know that that package has no uninstalled dependencies,
so it simplifies the issue.) One more thing to try would be to download
the package as a local Zip file and install from that.
-pd
> Dan O'Shea
>
>
>> utils:::menuInstallPkgs()
>>
> --- Please select a CRAN mirror for use in this session ---
> also installing the dependencies 'scatterplot3d', 'rgl', 'ellipse'
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/scatterplot3d_0.3-24.zip'
> Content type 'application/zip' length 540328 bytes
> opened URL
> downloaded 527Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/rgl_0.70.zip'
> Content type 'application/zip' length 838137 bytes
> opened URL
> downloaded 818Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/ellipse_0.3-4.zip'
> Content type 'application/zip' length 91877 bytes
> opened URL
> downloaded 89Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/vegan_1.8-5.zip'
> Content type 'application/zip' length 1176434 bytes
> opened URL
> downloaded 1148Kb
> Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program Files
> (x86)/R/R-2.4.1/library/file60bf5753/scatterplot3d/chtml/scatterplot3d.chm'
>
>
>
>> utils:::menuInstallPkgs()
>>
> also installing the dependencies 'akima', 'gam', 'RColorBrewer', 'sm',
> 'deldir', 'sp', 'maps', 'spatstat', 'PBSmapping', 'gpclib', 'RArcInfo',
> 'tkrplot', 'maptools', 'mapproj', 'rgl', 'qcc', 'sgeostat', 'acepack',
> 'TeachingDemos', 'chron', 'Hmisc'
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/akima_0.5-1.zip'
> Content type 'application/zip' length 128809 bytes
> opened URL
> downloaded 125Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/gam_0.98.zip'
> Content type 'application/zip' length 238008 bytes
> opened URL
> downloaded 232Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/RColorBrewer_0.2-3.zip'
> Content type 'application/zip' length 39787 bytes
> opened URL
> downloaded 38Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/sm_2.1-0.zip'
> Content type 'application/zip' length 400621 bytes
> opened URL
> downloaded 391Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/deldir_0.0-5.zip'
> Content type 'application/zip' length 108656 bytes
> opened URL
> downloaded 106Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/sp_0.9-4.zip'
> Content type 'application/zip' length 747542 bytes
> opened URL
> downloaded 730Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/maps_2.0-33.zip'
> Content type 'application/zip' length 2219136 bytes
> opened URL
> downloaded 2167Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/spatstat_1.11-0.zip'
> Content type 'application/zip' length 4558460 bytes
> opened URL
> downloaded 4451Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/PBSmapping_2.09.zip'
> Content type 'application/zip' length 6725596 bytes
> opened URL
> downloaded 6567Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/gpclib_1.3-3.zip'
> Content type 'application/zip' length 95120 bytes
> opened URL
> downloaded 92Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/RArcInfo_0.4-7.zip'
> Content type 'application/zip' length 374375 bytes
> opened URL
> downloaded 365Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/tkrplot_0.0-16.zip'
> Content type 'application/zip' length 24119 bytes
> opened URL
> downloaded 23Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/maptools_0.6-6.zip'
> Content type 'application/zip' length 679963 bytes
> opened URL
> downloaded 664Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/mapproj_1.1-7.1.zip'
> Content type 'application/zip' length 64188 bytes
> opened URL
> downloaded 62Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/rgl_0.70.zip'
> Content type 'application/zip' length 838137 bytes
> opened URL
> downloaded 818Kb
> trying URL 'http://cran.wustl.edu/bin/windows/contrib/2.4/qcc_1.2.zip'
> Content type 'application/zip' length 314782 bytes
> opened URL
> downloaded 307Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/sgeostat_1.0-20.zip'
> Content type 'application/zip' length 140584 bytes
> opened URL
> downloaded 137Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/acepack_1.3-2.2.zip'
> Content type 'application/zip' length 55675 bytes
> opened URL
> downloaded 54Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/TeachingDemos_1.4.zip'
> Content type 'application/zip' length 383599 bytes
> opened URL
> downloaded 374Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/chron_2.3-9.zip'
> Content type 'application/zip' length 112830 bytes
> opened URL
> downloaded 110Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/Hmisc_3.1-2.zip'
> Content type 'application/zip' length 2079032 bytes
> opened URL
> downloaded 2030Kb
> trying URL
> 'http://cran.wustl.edu/bin/windows/contrib/2.4/Design_2.0-12.zip'
> Content type 'application/zip' length 1410543 bytes
> opened URL
> downloaded 1377Kb
> Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program Files
> (x86)/R/R-2.4.1/library/fileceda26/akima/chtml/akima.chm'
>
> ______________________________________________
> 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.
>
--
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
More information about the R-help
mailing list