dev.interactive {grDevices}R Documentation

Is the Current Graphics Device Interactive ?

Description

Test if the current graphics device is interactive.

Usage

dev.interactive(orNone = FALSE)

Arguments

orNone logical; if TRUE, the function also returns TRUE when .Device == "null device" and getOption("device") is among the interactive devices.

Details

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

Value

dev.interactive() returns a logical, TRUE iff an interactive (screen) device is in use.

See Also

Devices for the available devices on your platform.

Examples

dev.interactive # definition -> see list of "interactive" devices explicitly

[Package grDevices version 2.4.1 Index]