Message-ID: <D48AD7AABC5F441A8827DC0CF97132B5@TCPC000>
Date: 2009-01-07T10:01:18Z
From: Mark Heckmann
Subject: can the pdf output page break be controlled manually?
I would like to control where to make a page break in my pdf file.
The following code renders three pages of output. But I would like to be
able to control the page breaks.
pdf(file="test.pdf", paper="a4")
par(mfrow=c(2,2))
hist(rnorm(100))
hist(rnorm(100))
hist(rnorm(100))
plot.new()
par(mfrow=c(1,1))
hist(rnorm(100))
hist(rnorm(100))
dev.off()
It would be much more convenient though, to enter a page break command
within the code instead of plot.new().
Is there a way to do this?
TIA, Mark