From byron.ellis at gmail.com  Wed Dec 19 01:46:06 2007
From: byron.ellis at gmail.com (Byron Ellis)
Date: Tue, 18 Dec 2007 16:46:06 -0800
Subject: [Rd] interactive graphics devices
In-Reply-To: <47686727.3040809@stat.auckland.ac.nz>
References: <47686727.3040809@stat.auckland.ac.nz>
Message-ID: <7098abec0712181646q2a97a3eey3b4fd60a11c607d1@mail.gmail.com>

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. Something like a Cairo device might also have
this behavior, though I don't know if the current Cairo devices
support it.

On Dec 18, 2007 4:34 PM, Paul Murrell <p.murrell at auckland.ac.nz> wrote:
> 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 Statistics
> The University of Auckland
> Private Bag 92019
> Auckland
> New Zealand
> 64 9 3737599 x85392
> paul at stat.auckland.ac.nz
> http://www.stat.auckland.ac.nz/~paul/
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



-- 
Byron Ellis (byron.ellis at gmail.com)
"Oook" -- The Librarian



[Rd] interactive graphics devices
Byron Ellis