Skip to content
Prev 27057 / 63424 Next

interactive graphics devices

On 12/18/07, Byron Ellis <byron.ellis at gmail.com> wrote:
That's done if the device is open. deviceIsInteractive() takes away
the guessing even when it's not (the use-case is when you type
example(something) without a device open, and R has to decide whether
to set par(ask = TRUE) just by looking at getOption("device")).
If there's ambiguity, you can choose not to use deviceIsInteractive.
You'll still be OK once the device is open (I don't think there's much
more that can be done).

-Deepayan