diff --git a/R/save.R b/R/save.R index 2f2faec357..6f5dd74516 100644 --- a/R/save.R +++ b/R/save.R @@ -329,6 +329,10 @@ validate_device <- function(device, filename = NULL, dpi = 300, call = caller_en grid.draw.ggplot <- function(x, recording = TRUE) { print(x) } +#' @export +grid.draw.recordedplot <- function(x) { + grDevices::replayPlot(x) +} absorb_grdevice_args <- function(f) { function(..., type, antialias) {