Do you have write permission in C:/PROGRA~1/R/rw1090/library? If not (and
it seems not), then you need to install elsewhere.
This *is* covered in the rw-FAQ: please consult the posting guide.
On Wed, 28 Apr 2004, Yao, Minghua wrote:
> Hi,
>
> I have installed R 1.9.0 under Windows XP. When I used
>
> "Packages->Install Package(s) from CRAN..." to install the
package 'gregmisc', I got this message:
>
> > local({a <- CRAN.packages()
> + install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a)})
> trying URL `http://cran.r-project.org/bin/windows/contrib/1.9/PACKAGES'
> Content type `text/plain; charset=iso-8859-1' length 17113 bytes
> opened URL
> downloaded 16Kb
> trying URL
`http://cran.r-project.org/bin/windows/contrib/1.9/gregmisc_0.10.2.zip'
> Content type `application/zip' length 594089 bytes
> opened URL
> downloaded 580Kb
> Error in unpackPkg(foundpkgs[okp, 2], pkgnames[okp], lib, installWithVers)
:
> Unable to create temp directory
C:/PROGRA~1/R/rw1090/library\file2869
> >
>
> Thanks in advance for any help.
>
> Minghua
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
>
--
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