[R] reset par() within plot layout
Janke ten Holt
j.c.ten.holt at rug.nl
Tue Oct 27 13:01:16 CET 2009
baptiste auguie wrote:
> Hi,
>
>>From ?par,
>
> "Value
>
> When parameters are set, their former values are returned in an
> invisible named list."
>
Wow, I must have missed that. Thanks,
Janke
> Therefore opar <- par(col="red") will not contain col="red".
>
> HTH,
>
> baptiste
>
>
> 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