From Tom.Wenseleers at bio.kuleuven.be  Sat Sep  5 15:13:29 2015
From: Tom.Wenseleers at bio.kuleuven.be (Tom Wenseleers)
Date: Sat, 5 Sep 2015 13:13:29 +0000
Subject: [Rd] Default location where packages are stored under Windows
In-Reply-To: <CABFfbXsXvkHF8Zq8BwmuTCc-1D-c3jpQBaCC0JiZcYmgpQDZRg@mail.gmail.com>
References: <37EFC97028F3E44082ACC5CBEC00563032C4B932@ICTS-S-MBX14.luna.kuleuven.be>,
	<CABFfbXsXvkHF8Zq8BwmuTCc-1D-c3jpQBaCC0JiZcYmgpQDZRg@mail.gmail.com>
Message-ID: <37EFC97028F3E44082ACC5CBEC00563032C4B961@ICTS-S-MBX14.luna.kuleuven.be>

Hi Jeroen,
Yes I noticed this - but with students etc it often still causes confusion, and I was just wondering if it would not be better to make it the default during installation of a new R version, as opposed to only changing over the first time you try to install a package and R noticing that the default directory is not writable...

cheers,
Tom

________________________________________
From: Jeroen Ooms [jeroenooms at gmail.com]
Sent: 05 September 2015 14:45
To: Tom Wenseleers
Cc: r-devel at r-project.org
Subject: Re: [Rd] Default location where packages are stored under Windows

On Sat, Sep 5, 2015 at 2:05 PM, Tom Wenseleers
<Tom.Wenseleers at bio.kuleuven.be> wrote:
> I was just wondering if the default directory to store packages on Windows platforms could therefore not better be made the personal library folder, Users/Username/Documents/R/win-library/3.XX/


I think this is already the case? The first time you try to install a
package as non-admin, you will be prompted with a message that the
global library is not writable and if you want to create a user
library. Once the user library exists, R will make that the default by
putting it on the head of .libPaths() at the start of every R session.



[Rd] Default location where packages are stored under Windows
Tom Wenseleers