R: Graphics parameters

with_par {withr} | R Documentation

## Graphics parameters

### Description

Temporarily change graphics parameters.

### Usage

    with_par(new, code, no.readonly = FALSE)

### Arguments

`new` | `[named list]` New graphics parameters and their values
`code` | `[any]` Code to execute in the temporary environment
`no.readonly` | `[logical(1)]` see `par` documentation.

### Value

`[any]`
The results of the evaluation of the `code` argument.

### See Also

`withr` for examples

`par`

[Package withr version 1.0.2 Index]