[R] reset par() within plot layout

baptiste auguie baptiste.auguie at googlemail.com
Tue Oct 27 11:44:39 CET 2009


>From ?par,


When parameters are set, their former values are returned in an
invisible named list."

Therefore opar <- par(col="red") will not contain col="red".



2009/10/27 Janke ten Holt <j.c.ten.holt at rug.nl>:
> This seems to work indeed. But I don't understand why... I would think
> that opar contains the par settings, including the col="red", but I
> guess it doesn't. I will look into par's behaviour some more...
> Thank you!
> Janke
>> -Peter Ehlers

More information about the R-help mailing list