[R] Location of libraries in Windows
ligges at statistik.tu-dortmund.de
Mon Apr 18 10:19:10 CEST 2011
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:
> Anyway, my question about folder location remains.
> 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
>> 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.
>> Thanks for your help!
More information about the R-help