Just to update everyone, I found out the source of the problem: antivirus.
The "real time file system protection" was blocking R from copying the files
between folders once they were downloaded.
Upon adding the R directory to the exception list, the problem went away :)

(I updated my post with the above information:
http://www.r-statistics.com/2011/04/how-to-upgrade-r-on-windows-7/)

I hope it will help someone in the future,
Tal




----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Mon, Apr 18, 2011 at 9:57 AM, Tal Galili <tal.galili@gmail.com> wrote:

> Hello all,
>
> I am using R 2.13.0 with windows 7, after giving my user full privileges to
> the R folder (as described here<http://www.r-statistics.com/2011/04/how-to-upgrade-r-on-windows-7/>
> ).
> This allows me to install new packages just fine.
>
> However, when using update.packages(), to update existing packages, I keep
> getting the following error (for example, when updating the MASS package):
>
> package 'MASS' successfully unpacked and MD5 sums checked
> Warning: unable to move temporary installation 'C:\Program
> Files\R\R-2.13.0\library\file6cae3bcf\MASS' to 'C:\Program
> Files\R\R-2.13.0\library\MASS'
>
> Any suggestions on how to fix this?
>
>
> Thanks,
> Tal
>
>
> ----------------Contact
> Details:-------------------------------------------------------
> Contact me: Tal.Galili@gmail.com |  972-52-7275845
> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
> www.r-statistics.com (English)
>
> ----------------------------------------------------------------------------------------------
>
>
>

	[[alternative HTML version deleted]]

