Re: [R] how to suppress some tk dialogs

From: jiho <jo.irisson_at_gmail.com>
Date: Tue, 5 Feb 2008 16:21:26 +0100

On 2008-February-05 , at 16:13 , Prof Brian Ripley wrote:

> Without reproduction instructions we have to guess at what you are
> doing.

Sorry to not have included some. I did not think it was relevant since this was not directly a coding issue. I'll be more thorough in the future.

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

Indeed, the option to set is menu.graphics=FALSE

Thank you very much!

> 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.
Received on Tue 05 Feb 2008 - 15:23:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 05 Feb 2008 - 16:30:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive