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
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. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Dear all, I figured out that the best solution for me is to install R in the /User/me/Documents/R/ directory instead of the program files directory since I am the only user on my notebook and R has then full write access and I do not need to change any environment variables... Thanks for the answers,- Stefan -------- Original Message -------- Subject: [R] update packages with R on Vista: error From: Stefan Grosse <singularitaet at gmx.net> To: r-help at stat.math.ethz.ch Date: 07.06.2007 12:00> 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. > > >