R/clear.plots.R

Defines functions clear.plots

Documented in clear.plots

#' rClearPlots
#'
#' This function lets you clear plots in R.
#' @param activate Do you want R to run better? Defaults to TRUE.
#' @keywords reset
#' @export
#' @examples
#' clear.plots()

clear.plots <- function() {

# Clear Plots

if(!is.null(dev.list())) dev.off()

# graphics.off()

print("Plots Cleared")

}
sabalicodev/sabali documentation built on Jan. 13, 2020, 2:22 p.m.