dev.interactive {grDevices} | R Documentation |
Test if the current graphics device is interactive.
dev.interactive(orNone = FALSE)
orNone |
logical; if TRUE , the function also returns
TRUE when .Device == "null device" and
getOption("device") is among the interactive devices. |
The X11
(Unix), windows
(Windows) and quartz
(MacOS X) are regarded as interactive, together with GTK
and
gnome
(used with the GNOME GUI: GTK
is available in
package gtkDevice and gnome
is expected to be in a
package gnomeDevice) and JavaGD
(from the JGR project,
see http://stats.math.uni-augsburg.de/JGR/).
dev.interactive()
returns a logical, TRUE
iff an
interactive (screen) device is in use.
Devices
for the available devices on your platform.
dev.interactive # definition -> see list of "interactive" devices explicitly