recordPlot(load=NULL, attach=NULL)
replayPlot(x, reloadPkgs=FALSE)
NULL
, a character vector of package names,
which are saved as part of the recorded plot.NULL
, a character vector of package names,
which are saved as part of the recorded plot.recordPlot
returns an object of class "recordedplot"
. replayPlot
has no return value.saveRDS
and readRDS
.
It is even possible to replay a plot from another R version,
however, this will produce warnings, may produce errors,
or something worse."recordedplot"
, and replayPlot
acts as a print
method for that class. The returned object is stored as a pairlist, but the usual methods for
examining R objects such as deparse
and
str
are liable to mislead.dev.control
.
Initially recording is on for screen devices, and off for print devices.