Have you tried:
pdf("test.pdf")
boxplot(data1~groups,...)
boxplot(data2~groups,...)
boxplot(data3~groups,...)
dev.off()
On Nov 16, 2007 4:43 PM, Mike Jones <MikeJones at westat.com>
wrote:> Hi,
>
> I have searched the archives and help manuals and can not find anything
> regarding how to save multiple plots/graphs into a single for example,
> pdf file. There is plenty of discussion etc. about saving a single plot
> to a single file, but not multiple plots to a single file. Is it
> possible? I can't want to use lattice, because I have hundreds of
plots.
>
> So, to keep it simple, let's say I am plotting 3 series of boxplots
> like,
>
> boxplot(data1~groups,...)
> boxplot(data2~groups,...)
> boxplot(data3~groups,...)
>
> Is there a way to get these into a single pdf file?
>
> Thanks in advance...
>
> Mike Jones
> Westat
> 1650 Research Blvd. RE401
> Rockville, MD 20850
> Ph: 240.314.2312
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem you are trying to solve?