Skip to content
Prev 9515 / 63421 Next

on.exit(par(old.par)) warnings

Paul,

You should be using:

old.par <- par(no.readonly=TRUE)
on.exit(par(old.par))

Without the  'no.readonly=TRUE' in the first call, you will store and
then try to set non-user adjustable (read only) parameters, hence the
warning.

HTH,

Marc Schwartz