Location of libraries in Windows
On 18.04.2011 09:29, Mario Valle wrote:
The best method to solve a problem is to send a mail to the list. One second later you find the problem has just been solved for someone else... The solution is here: http://www.r-statistics.com/2011/04/how-to-upgrade-r-on-windows-7/ Anyway, my question about folder location remains. Thanks! mario On 18-Apr-11 09:22, Mario Valle wrote:
I'm preparing to install 2.13, so I need a clarification about package location on disk. On window the packages I have installed are under C:\Users\mvalle\R\win-library\2.12 and the ones that come with R are under "C:\Program Files\R\library" If I execute update.packages() from the R gui, it fails because it finds e.g. Matrix as a package that should be updated but the process cannot write under R\library. I failed to change permissions for this directory (I tried hard...) so I'm forced to run Rterm.exe as administrator just to update packages. I would ask if moving all directories (except maybe base) from R\library to R\win-library\2.12 could be a "good thing to do". Or should I simply not update packages that come with R?
You can install new versions of those package to R\win-library\2.12, then those versions will take precedence. Uwe Ligges
Thanks for your help! mario