remove_plot {autovi} | R Documentation |
This function removes a plot from a provided path.
remove_plot(path, check_ext = TRUE)
path |
Character. Path to the image. |
check_ext |
Boolean. Whether to check the file extension. |
No return. Called for side-effect.
p <- ggplot2::ggplot(cars) + ggplot2::geom_point(ggplot2::aes(dist, speed))
path <- save_plot(p)
remove_plot(path)