with_par {mark} | R Documentation |
Reset par() after running
with_par(..., ops = NULL)
... |
Code to be evaluated |
ops |
A named list to be passed to |
Invisibly, the result of ...
with_par(
plot(lm(Sepal.Length ~ Sepal.Width, data = iris)),
plot(lm(Petal.Length ~ Petal.Width, data = iris)),
ops = list(mfrow = c(2, 4))
)