Description Usage Arguments References See Also
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.
1 | redrawPlot(rec_plot)
|
rec_plot |
the plot object to redraw |
Thanks to Jeroen Ooms http://permalink.gmane.org/gmane.comp.lang.r.devel/29897, JJ Allaire https://github.com/rstudio/rstudio/commit/eb5f6f1db4717132c2ff111f068ffa6e8b2a5f0b, and Gabriel Becker.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.