parReset: Reset to Old par() Settings

View source: R/all_custom_functions.R

parResetR Documentation

Reset to Old par() Settings

Description

Used to reset to previously saved par() settings, ideally stored with parSave()

Usage

parReset(parOld, split = FALSE)

Arguments

parOld

Previously stored output of par(). Ideally stored with parSave()

split

If set to TRUE the plot region is automatically splitted in two rows and two columns

Value

The output of par() with some values removed in order to make falling back to these settings easier. However, some entries in the output list might still give problems.

Examples

olpar <- parSave()
parReset(olpar)

ryannick28/CustomFunctionsYrotha documentation built on June 1, 2025, 4:02 p.m.