Re: [R] R: graphics devices

From: Don MacQueen <macq_at_llnl.gov>
Date: Sat 30 Jul 2005 - 00:19:55 EST

I'd suggest starting with the documentation. See

   ?Devices

and then look at some of the other functions referenced in the "See Also" section of ?Devices.

Basically, you produce plots on two different graphics devices by this sequence:

  1. open a graphics device
  2. produce a plot
  3. open another graphics device
  4. produce a plot and depending on which graphic device(s) you are using you may have follow with dev.off() to actually get any useful result.

And of course there is always the documentation you can download from the R website. Specifically, the one titled

   "An Introduction to R"
in which I found a section titled

    "Multiple graphics devices"
which starts with
  "In advanced use of R it is often useful to have several graphics devices in use at the same time."
(this was from the R 2.0.1 version of the manual, to be precise)

-Don

At 1:30 PM +0200 7/29/05, Clark Allan wrote:
>a simple question
>
>how does one produce plots on two different graphics devices?
>
>/
>allan
>______________________________________________
>R-help@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Jul 30 00:31:09 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 14:59:21 EST