dontAsk {svGUI} | R Documentation |
Determine if R code execution can be interrupted by the GUI, e.g., a modal dialog box.
dontAsk(gui = .GUI)
gui |
a 'gui' object. |
Methods for 'gui' objects can dispatch as usual using
amethod(...., gui = agui)
but note that these methods do not dispatch
on first provided argument, but to the named argument gui
. There is
another way to call 'gui' methods: agui$amethod(....)
. This may be a
convenient alternative for those who prefer this style of calling object's
methods.
TRUE
if the GUI cannot interupt. The function triggering the dialog box
should then not display it and should return the default value as the result.
The function returns TRUE
if R is run in a non interactive session, or
if ask
is se to FALSE
for the GUI, or if it is not specified,
that is, its value is NULL
, if getOptions("gui.ask")
is
FALSE
.
Philippe Grosjean <phgrosjean@sciviews.org>
## Wat's the current state for the default GUI dontAsk()