[R] update packages with R on Vista: error
villegas.ro at gmail.com
Thu Jun 7 23:13:33 CEST 2007
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".
2007/6/7, Stefan Grosse <singularitaet at gmx.net>:
> Actually the packages R wants to update are: VR, cluster, lattice, mgcv,
> nlme and rcompgen. I did how described in the R-Win-FAQ create a
> .Renviron File containing the path to the win-library that R already
> created (R_LIBS=C: ... ). I also tried to add R_LIBS= as Rgui parameter
> from within Tinn-R. Additionally I tried to leave a file named
> Renviron.site in the etc library. Nothing worked thus far.
> Interestingly installing packages does work fine even without specifying
> the R_LIBS path manually with any of the above mentioned methods.
> Even more puzzling is that even when I install eg. nlme manually via
> install.packages("nlme") it works but R still wants to update it. Even
> though e.g. library(nlme), ?nlme shows that the latest version is
> I would guess there is some problem with the library path variable in
> the update program...
> -------- Original Message --------
> Subject: Re:[R] update packages with R on Vista: error
> From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> To: Stefan Grosse <singularitaet at gmx.net>
> Date: 07.06.2007 13:01
> > See the rw-FAQ, which describes this in detail.
> > Almost certainly you are trying to update the package 'cluster' which
> > is in the main library. But as you used the GUI, we can't see that.
> > On Thu, 7 Jun 2007, Stefan Grosse wrote:
> >> Dear R-list,
> >> I have encountered the following error message trying to update R
> >> packages:
> >>> update.packages(ask='graphics')
> >> Warning in install.packages(update[instlib == l, "Package"], l,
> >> contriburl = contriburl, :
> >> 'lib' is not writable
> >> Error in install.packages(update[instlib == l, "Package"], l, contriburl
> >> = contriburl, :
> >> unable to install packages
> >> I remember did not have the problem on the last update where R
> >> installed the files then in the Documents/R folder on my user account.
> >> Any ideas how to handle this? I made the directories completely writable
> >> so I do not know where the problem is now (especially since update
> >> worked before...)
> >> Stefan
> >> PS: Tinn-R 184.108.40.206 + R 2.5.0 on Vista Business
> >> ______________________________________________
> >> 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.
> R-help at stat.math.ethz.ch mailing list
> 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