R/clear.R

Defines functions clear

Documented in clear

#' Analog of Matlab function to clear all variables from the global environment
#' @export clear

clear <- function() {
  genv <- globalenv()
  rm(list = ls(genv), envir = genv)
}
alixtc/atc.package documentation built on Dec. 19, 2021, 1:30 a.m.