[R] Multi-plot
Ben Bolker
ben at zoo.ufl.edu
Tue Aug 20 22:29:00 CEST 2002
On Tue, 20 Aug 2002 ripley at stats.ox.ac.uk wrote:
> On Tue, 20 Aug 2002, Ben Bolker wrote:
>
> > Q to gurus: is there a simple way to get the command for the default
> > graphics driver, something like options()$createdevice [options$device is
> > useful but "X11" can't quite be turned into x11() without some hacking,
> > and I don't know if that hack would work generally]. You can always write
> > a little bit of conditional code, but I'm just wondering if there's a
> > simple one-liner ...
>
> eval(get(getOption("device"))())
>
> is essentially what the internal code does. I've written that several
> times before, and will see if I can find a place to put it in the
> online docs. (Ben: Suggestions welcome as to where.)
>
How about ?Devices ? (I think that's the first place I would look ...)
And/or ?options, under "device" (the case difference between "X11" and
x11() [which I now realize is an alias for X11(), but is how I usually
invoke it] also confused me).
--
318 Carr Hall bolker at zoo.ufl.edu
Zoology Department, University of Florida http://www.zoo.ufl.edu/bolker
Box 118525 (ph) 352-392-5697
Gainesville, FL 32611-8525 (fax) 352-392-3704
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list