Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

reset_par

Reset graphical options in 'par' to factory defaults.


Description

Reset the par to R's defaults.

Usage

reset_par()

Details

Some of par's settings are readonly. These are obviously not reset.

Settings stored in par are device-dependent. In practice, most settings in par are initially the same accross devices. Exceptions we noted are:

  • bg: background color

  • fin: figure region dimensions

  • mai: margin size (inches)

  • pin: current plot dimensions (inches)

  • plt: coordinates of the plot region as fractions of the current figure region

  • ps: point size of text (but not symbos)

Consequently, these options are currently not reset by calling reset_par()

See Also


settings

Software Option Settings Manager for R

v0.2.7
GPL-3
Authors
Mark van der Loo
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.