[R] how to suppress some tk dialogs

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Feb 5 16:13:50 CET 2008


Without reproduction instructions we have to guess at what you are doing. 
But I think the answer is in the help for options(), and more obvious from 
?chooseCRANmirror (which seems to be one of the functions you are using).


On Tue, 5 Feb 2008, jiho wrote:

> Dear List,
>
> I noticed that, when executing R without X11 (e.g. on a remote machine
> without X forwarding), when R needs to display a Tk dialog (e.g. when
> presenting the list of mirrors for install.packages,or of available
> packages containing help on a given keyword) it replaces it by a
> simple numbered text list. I would love this behaviour to be the
> default, even when I have X11, since I find it quicker and less
> intrusive[1]. Is that possible?
> man R, RSiteSearch and google were not helpful, it seems that
> everybody is trying to get Tk to work rather than trying to suppress
> it...
>
> Thanks in advance.
>
> [1] I am mainly using R in a simple terminal on OS X (X11 is usually
> not running, so each TK dialog has to start the whole X server) or via
> ssh to a remote machine (each Tk dialog has to start my local X server
> and needs to be sent through the network, twice as painful). This may
> give you the reason behind this seemingly strange question.
>
> JiHO
> ---
> http://jo.irisson.free.fr/
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
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