R: Options

with_options {withr} | R Documentation

## Options

### Description

Temporarily change global options.

### Usage

    with_options(new, code)

### Arguments

`new` | `[named list]` New options and their values
`code` | `[any]` Code to execute in the temporary environment

### Value

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

### See Also

`withr` for examples

`options`

[Package withr version 1.0.2 Index]