Re: [R] update packages with R on Vista: error

From: R. Villegas <villegas.ro_at_gmail.com>
Date: Thu, 07 Jun 2007 23:13:33 +0200

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.

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
> installed.
>
> I would guess there is some problem with the library path variable in
> the update program...
>
> Stefan
>
>
> -------- 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 1.19.2.3 + 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
> 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
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. Received on Thu 07 Jun 2007 - 21:25:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Jun 2007 - 09:31:47 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.