[R] is this trellis device or standard graphics device?

Prasenjit Kapat kapatp at gmail.com
Wed Mar 28 20:21:19 CEST 2007


OK, here is the issue:
I have a graphcis device (say X11) which I can set as active by
dev.set(n). Is there ANY way to identify/infer whether this X11 device
was obtained from a lattice function (like xyplot, levelplot...) or a
standard function (like plot, scatterplot,...).

A related question is whether plot.new (or frame) was called to obtain
this graphics device...

Thanks.
PK



More information about the R-help mailing list