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

Juan Lewinger lewinger at usc.edu
Fri Feb 24 21:06:36 CET 2006


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 

----- Original Message -----
From: "Liaw, Andy" <andy_liaw at merck.com>
Date: Friday, February 24, 2006 11:41 am
Subject: RE: [R] Multiple plots on the same pdf file
To: 'Juan Lewinger' <lewinger at usc.edu>, r-help at stat.math.ethz.ch

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




More information about the R-help mailing list