Learn R Programming

settings (version 0.2.7)

reset_par: Reset graphical options in 'par' to factory defaults.

Description

Reset the par to R's defaults.

Usage

reset_par()

Arguments

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

reset_options, par