[R] unable to move temporary installation when install some packages

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Sep 11 08:37:32 CEST 2014

On 11/09/2014 07:19, PO SU wrote:
> Dear expeRts,
> These days  i and some of my friends often encount   the same problem when installing packages, e.g. when i try to install.packages("stringi"), i will get :
> package ‘stringi’ successfully unpacked and MD5 sums checked
> Warning in install.packages :
>    unable to move temporary installation ‘C:\Program Files\R\library\file28744050180\stringi’ to ‘C:\Program Files\R\library\stringi’
> The downloaded binary packages are in
> 	C:\Users\po.su\AppData\Local\Temp\RtmpeobZut\downloaded_packages
> But when i try to install some other packages, it is ok,like ggplot2,but my friends encount the same problem with ggplot2 like stringi for me.
> we all use windows 7, and the latest version of Rstudio with R 3.1.1.
> We investgate it, open the path dir 's modify permissions, it works for some packages,but for packages like Rcpp, the problem still come!
> Is there some one happen to  know the solution?

1) Use a less unreliable OS.

2) Tame other software running on the system.  This is most often seen 
from anti-virus or indexing software which is interfering with standard 
OS operations.


Brian D. Ripley,                  ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK

More information about the R-help mailing list