[R-SIG-Mac] install.packages without loading tcl tk interface for mirror selection
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Apr 27 10:06:07 CEST 2011
On Wed, 20 Apr 2011, jmmi mijle wrote:
> Is it possible run install.packages() using the stock R Mac binary in the
> command line without it trying to load the tcl/tk interface to select a
> mirror? I'd rather just use the text-based numerical selection for the
> mirror and not have X11 start up each time I try to install a package
> (which, in any case, is pointless if tcl/tk is not installed).
Yes. RTFM applies (and RT posting guide too: you are expressly asked
not to send HTML).
See ?select.list, and also ?chooseCRANmirror for how to select
mirrors. Look for what options(menu.graphics=FALSE) does.
> [[alternative HTML version deleted]]
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
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-SIG-Mac