[R] update packages with R on Vista: error

Stefan Grosse singularitaet at gmx.net
Fri Jun 8 11:07:27 CEST 2007


Thanks for pointing at this. But you know, the user is writable. R is
installing Packages in /Documents/R/win-library which works fine so I
find it absolutely naturally that update should work as well. Especially
since when I install the packages it gets the latest version, library
loads this latest version but update still does want to update this
latest package with the package I already installed and fails ...

In my opinion the update on windows is simply buggy.

I think one should definitely not turn UAC off. ( its a good security
feature). Btw. MikTeX 2.6 is able to deal with UAC - I can update my
latex packages without any problems even though they are in the Program
File directory (and also on-the-fly installation does work) ...

Stefan

-------- Original Message  --------
Subject: Re:[R] update packages with R on Vista: error
From: R. Villegas <villegas.ro at gmail.com>
To: Stefan Grosse <singularitaet at gmx.net>
Date: 07.06.2007 23:13
> If R is installed within "Program Files", one of Vista's security
> settings may interfere with the -update- process.
>
> The setting may be disabled globally by choosing:
> Windows (Start) menu, Control Panels, User Accounts and Family
> Safety (green title), User Accounts (green title), and
> Turn User Account Control on or off (very bottom).  You will be
> prompted for permission to continue; click continue.  On the
> screen you will see a checkbox titled "Use User Account Control
> (UAC) to help protect your computer".  Uncheck this and click
> the OK button to save the changes.  Windows Vista will now allow
> programs, including R, to update files in "Program Files".
>
> Rod.



More information about the R-help mailing list