[R] chooseCRANmirror

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri May 31 16:24:05 CEST 2013

On 31/05/2013 14:59, Duncan Murdoch wrote:
> 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.)

That's ambiguous: the value of an option is set to the URL of the CRAN 
> 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).



for the CRAN master and my local mirror respectively.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list