On Tue, 18 Dec 2007, Byron Ellis wrote:
> I probably missed this discussion, but why not just ASK the device if
> it is interactive? I can easily imagine a case where a device might be
> interactive or not depending on how it was started. In fact, I don't
> have to imagine a case since the Quartz
On 12/18/07, Byron Ellis <[EMAIL PROTECTED]> wrote:
> I probably missed this discussion, but why not just ASK the device if
> it is interactive?
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) wit
I probably missed this discussion, but why not just ASK the device if
it is interactive? I can easily imagine a case where a device might be
interactive or not depending on how it was started. In fact, I don't
have to imagine a case since the Quartz device in R-devel can have
exactly this behavior.
Hi
For all developers of add-on graphics devices: please note the
existence of deviceIsInteractive() for adding your device to the list of
devices for which dev.interactive() returns TRUE. (Available since R
2.6.0; thanks to Brian Ripley I think)
Paul
--
Dr Paul Murrell
Department of Statisti