reset.par: Reset par

Description Usage See Also Examples

View source: R/reset.par.R

Description

reset.par resets the arguments of par to the default values when first opening R (as of version 3.2.2).

Usage

1

See Also

par

Examples

1
2
3
4
5
par("mar") #current values of mar
par(mar = c(0, 0, 0, 0)) # change values of mar
par("mar") # changed values of mar
reset.par() # reset to defaults (not necessarilly current values)
par("mar") # should be c(5.1, 4.1, 4.1, 2.1)

Example output

# This package was created for research supported by NSF Grant DMS-1463642 and NIH Grant R01 CA157528

Attaching package: 'autoimage'

The following object is masked from 'package:stats':

    ppoints

[1] 5.1 4.1 4.1 2.1
[1] 0 0 0 0
[1] 5.1 4.1 4.1 2.1

autoimage documentation built on March 16, 2021, 5:07 p.m.