This function redraws the plot represented by rec_plot. It can redraw grid/trellis/ggplot2/etc plots, as well as recordedplot objects. For recordedplot objects it acts as a wrapper around replayPlot with memory tweaks to fix native symbol address errors when the recordedplot was loaded from an rda/rds file.

redrawPlot(rec_plot)

Arguments

rec_plot

the plot object to redraw