Is the Current Graphics Device Interactive?
Test if the current graphics device (or that which would be opened) is interactive.
1 2 3
one or more device names as a character vector,
windows (Windows) and
(OS X, on-screen types only) are regarded as interactive, together
JavaGD (from the package of the same name) and
CairoX11 (from package \CRANpkgCairo).
Packages can add their devices to the list by calling
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 unless
name = NULL.
Devices for the available devices on your platform.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.