[R] Multiple plots on the same pdf file (clarification)

From: Juan Lewinger <lewinger_at_usc.edu>
Date: Sat 25 Feb 2006 - 07:06:36 EST

I wanted to output each plot to a separate page on the same pdf file. Contrary to what I stated in my original question, the code below does do the job. I now identified my problem as Acrobat's (my installation), not R.  Thanks for the help

> You need to say more explicitly what `does not work' means (as the
> PostingGuide asks). What you've stated will generate plots in
> separate pages in
> the PDF file. If that's not what you want, then tell us exactly
> what you
> are looking for.
>
> Andy
>
> From: Juan Lewinger
> >
> > Is there a way to output multiple plots generated with a high
> > level plot function such as "plot()" to the same pdf file?
> > The following does not work (in windows XP):
> >
> > pdf(filename)
> > plot(...) # first plot
> > plot(...) # second plot
> > .....
> > plot(...) # n-th plot
> > dev.off()
> >
> > Thanks for your help!
> >
> > ______________________________________________
> > 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
> >
> >
>
>
> -------------------------------------------------------------------
> -----------
> Notice: This e-mail message, together with any attachments,
> contains information of Merck & Co., Inc. (One Merck Drive,
> Whitehouse Station, New Jersey, USA 08889), and/or its affiliates
> (which may be known outside the United States as Merck Frosst,
> Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be
> confidential, proprietary copyrighted and/or legally privileged.
> It is intended solely for the use of the individual or entity
> named on this message. If you are not the intended recipient, and
> have received this message in error, please notify us immediately
> by reply e-mail and then delete it from your system.
> -------------------------------------------------------------------
> -----------
>



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 Feb 25 07:14:17 2006

This archive was generated by hypermail 2.1.8 : Sat 25 Feb 2006 - 09:08:39 EST