On Thu, Mar 29, 2012 at 9:41 PM, Jim Silverton <jim.silver...@gmail.com> wrote: > Anyone knows how to get around this message? I am trying to update some > packages in R but I get the following message I use R for 64 bit windows. > Warning in install.packages(update[instlib == l, "Package"], l, contriburl > = contriburl, : > 'lib = "C:/Program Files/R/R-2.14.1/library"' is not writable > Error in install.packages(update[instlib == l, "Package"], l, contriburl = > contriburl, : > unable to install packages
You most likely don't have permission to write to that directory. Run R as a user with enough permissions (usually you have to be an administrator or similar to do that), or ask an administrator to update the packages for you. If all else fails, you can create your own R library (somewhere on your disk where you have write access) and install updated packages in it. HTH Peter ______________________________________________ R-help@r-project.org 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.