Record and Replay Plots
Functions to save the current plot in an R variable, and to replay it.
- A saved plot.
These functions record and replay the displaylist of the current
graphics device. The returned object is of class
replayPlot acts as a
recordPlotreturns an object of class
replayPlothas no return value.
The format of recorded plots may change between R versions. Recorded plots can not be used as a permanent storage format for R plots. There were extensive changes in R 3.0.0, and now only plots from the current session can be replayed.
The displaylist can be turned on and off using
Initially recording is on for screen devices, and off for print devices.