[R] chooseCRANmirror

Duncan Murdoch murdoch.duncan at gmail.com
Fri May 31 15:59:06 CEST 2013


On 31/05/2013 9:49 AM, Christian Hoffmann wrote:
> Obviously,
>
> chooseCRANmirror()
>
> is run at every start. Can I permanently store my choice with q() and 'yes' ?
>
>

No, the result is not stored as an object in your global workspace, it 
is saved by setting an option to a URL.  (See the help page, or the 
source to the function for more details.)

The usual way people fix this is to set the option in their Rprofile or 
Rprofile.site file.  See ?Startup for the location of those (and an 
example of setting the repository).

Duncan Murdoch



More information about the R-help mailing list