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