Hi,

On Wednesday 28 March 2007 07:32:08 pm Paul Murrell wrote:
> You could call the grid function getNames() and if that is zero-length,
> then the device is either blank or only contains traditional graphics.

Thanks Dr. Murrell. I was looking for something simple like this.

>
> > A related question is whether plot.new (or frame) was called to obtain
> > this graphics device...
>
> Try ...
>
> recordPlot()[[1]][[1]]
>
> ... which should look something like this after plot.new() ...
>
> [[1]]
> .Primitive("plot.new")
>
> [[2]]
> NULL
>
> ... though you're starting to get on shakier ground here.
>
> Paul

PK.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to