[R] installing packages and windows vista

Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com
Wed Feb 7 17:27:23 CET 2007


Thank you Dan!

I dunno if I would have ever found that.

Thanks!

Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of musche1 at comcast.net
Sent: Wednesday, February 07, 2007 9:49 AM
To: Duncan Murdoch; P.Dalgaard at biostat.ku.dk
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] installing packages and windows vista

Opening R by right clicking and choosing "run as administrator' worked.  Was
able to run install packages without a problem.  I have not tested the other
methods suggested. thank you.
Dan O'Shea
 -------------- Original message ----------------------
From: Duncan Murdoch <murdoch at stats.uwo.ca>
> On 2/6/2007 10:33 AM, 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.
> 
> I believe that on Vista you need to do like other OS's, and run package 
> installs at a higher security level than the default.  I don't have 
> Vista so I've never done this, but I've been told you do it by right 
> clicking on the R icon and choosing "Run as administrator".
> 
> I'd be interested in hearing if this is true of all package installs, or 
> only installs to C:/Program files.  Can you have a local library for 
> your user, with only user permissions needed to modify packages there?
> You'd test this by creating a library directory in your own file space, 
> then using .libPaths() to add it to the library location list.  By 
> default new installs would go there.
> 
> Duncan Murdoch
> 
> > 
> > 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.
> 
> ______________________________________________
> 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.

______________________________________________
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.



More information about the R-help mailing list