Re: [Rd] Qt device update

From: Deepayan Sarkar <>
Date: Mon, 07 May 2007 12:07:17 -0700

On 5/5/07, Prof Brian Ripley <> wrote:


> o dev.interactive() regards devices with the displaylist enabled
> as interactive, and packages can register the names of their
> devices as interactive via deviceIsInteractive().

Thanks. A related issue: 2.5.0's NEWS has:

    o options(device = ) now accepts a function object as well as

        the name of a function.

(For some reason, I had thought this was true all along, but in any case) This means that it's now reasonable to do

> options(device = function() x11("", 4, 4))

But then I get (iff there is no device open)

> example(glm)

Error in match(x, table, nomatch = 0) : 'match' requires vector arguments

because dev.interactive() doesn't know about the change yet. dev.interactive() cannot really do anything useful in this case, but an error seems too harsh (especially since example(glm) doesn't even have any graphics).

-Deepayan mailing list Received on Mon 07 May 2007 - 19:10:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 May 2007 - 02:33:48 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.