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
>______________________________________________
>[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


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

______________________________________________
[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

Reply via email to