Thank you for your quick reply Prof. Ripley.
I thought I am modifying par() in par(mfrow = c(4,2)). This is not clear for
me.
But I do understand now that par() applies to each device.
Thanks again.
AA.
- Original Message -
From: Prof Brian Ripley [EMAIL PROTECTED]
To: AA [EMAIL
You are calling par() *before* opening and (in on.exit) *after* closing
the pdf() device. par() applies on a per-device basis, and if no device
is open the default device will be opened.
As for why you get the warnings about 'gamma' and 'new', see ?par and read
their entries. Since you
Dear All,
I have the following function
tstpar -
function(n = 200, want.pdf = FALSE, pdfFileName = NULL){
oldpar - par(no.readonly = TRUE)
on.exit(par(oldpar))
steps - seq(from = 1, to = 8, by = 1)
h - 10; w - 6
if(want.pdf){pdf(file = pdfFileName, onefile = TRUE,
3 matches
Mail list logo