[R] R-2.4.0 and MS Vista OS - installing packages

Gabor Grothendieck ggrothendieck at gmail.com
Sat Oct 21 01:31:06 CEST 2006


I run XP, not Vista, but have always installed R in
 c:\Program Files\R\R...
and have never had a problem with the space in Program Files
so I doubt that that would be the problem.

On 20 Oct 2006 22:31:09 +0200, Peter Dalgaard <p.dalgaard at biostat.ku.dk> wrote:
> "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
>
> ______________________________________________
> 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