dev.interactive
Is the Current Graphics Device Interactive?
Test if the current graphics device (or that which would be opened) is interactive.
- Keywords
- device
Usage
dev.interactive(orNone = FALSE)deviceIsInteractive(name = NULL)
Arguments
Details
The X11
(Unix), windows
(Windows) and quartz
(OS X, on-screen types only) are regarded as interactive, together
with JavaGD
(from the package of the same name) and
CairoWin
and CairoX11
(from package deviceIsInteractive
.
Value
dev.interactive()
returns a logical,TRUE
if and only if an interactive (screen) device is in use.deviceIsInteractive
returns the updated list of known interactive devices, invisibly unlessname = NULL
.
See Also
Devices
for the available devices on your platform.
Examples
library(grDevices)
dev.interactive()
print(deviceIsInteractive(NULL))
Community examples
Looks like there are no examples yet.