| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/evals.R |
| 3 |
\name{redrawPlot} |
| 4 |
\alias{redrawPlot} |
| 5 |
\title{Redraw a recordedplot, grid, trellis, or ggplot2 plot.} |
| 6 |
\usage{ |
| 7 |
redrawPlot(rec_plot) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{rec_plot}{the plot object to redraw} |
| 11 |
} |
| 12 |
\description{ |
| 13 |
This function redraws the plot represented by \code{rec_plot}. It can redraw grid/trellis/ggplot2/etc plots, as well as \code{recordedplot} objects. For \code{recordedplot} objects it acts as a wrapper around \code{replayPlot} with memory tweaks to fix native symbol address errors when the recordedplot was loaded from an rda/rds file. |
| 14 |
} |
| 15 |
\references{ |
| 16 |
Thanks to Jeroen Ooms \url{https://stat.ethz.ch/pipermail/r-devel/2012-January/062973.html}, JJ Allaire \url{https://github.com/rstudio/rstudio/commit/eb5f6f1db4717132c2ff111f068ffa6e8b2a5f0b}, and Gabriel Becker. |
| 17 |
} |
| 18 |
\seealso{ |
| 19 |
\code{\link{redraw.recordedplot}} |
| 20 |
} |