[R] Multiple graph pages

E. D. Isaia isaia at econ.unito.it
Tue Feb 12 06:32:09 CET 2002


R features (and philosophy!) are not the same as S-Plus ones (so maybe you'd
better use S-Plus?).
In any cases, R allows you to open several graphics windows, for instance:

##   activate 1st graphics window (on Windows machines)
##
windows()
curve(sin(x),-2*pi,2*pi)
##   activate 2nd graphics window
windows()
curve(cos(x),-2*pi,2*pi)

Then you may switch between them as you please.

Best, isaia.

zeng_li at willis.com wrote:

> Dear R users:
>
> I am a relatively experienced Splus user but new to R, using the version
> for Windows 2000.
>
> Splus allows the user to generate multiple graph pages in the graph window.
> For example, if you have two plot(...) commands in the script than two
> pages in the graph window will be created. However, when I tried this in R,
> the second plot will just overwrite the first plot in the graph window.
> Could you tell me how to let R create multiple pages in the graph window?
> Please note that I am not talking about creating multiple plots in the same
> page of the graph window...
>
> Thanks very much in advance for any help that you might be able to offer!
>
> Best regards,
> Lixin Zeng
>
> The information in this email and in any attachments is confidential and
> may be privileged.  If you are not the intended recipient, please destroy
> this message, delete any copies held on your systems and notify the sender
> immediately.  You should not retain, copy or use this email for any
> purpose, nor disclose all or any part of its content to any other person.
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Ennio D. Isaia
~ Dep. of Statistics & Mathematics, University of Torino
~ Piazza Arbarello, 8 - 10128 Torino (Italy)
~ Phone: +39 011 670 62 51 ~~ Fax: +39 011 670 62 39
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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