Temporarily change graphics parameters.
with_par(new, code, no.readonly = FALSE)local_par(new, no.readonly = FALSE, .local_envir = parent.frame())
[named list]
New graphics parameters and their values
[any]
Code to execute in the temporary environment
[logical(1)]
see par()
documentation.
[environment]
The environment to use for scoping.
[any]
The results of the evaluation of the code
argument.
withr
for examples