R/rm2.R

Defines functions rm2

Documented in rm2

#' Remove all objects
#'
#' Function to remove all objects from the current environment.
#'
#' @export

rm2 <- function() {
  ENV <- globalenv()
  ll <- ls(envir = ENV)
  rm(list = ll, envir = ENV)
}
leonidliu/liutils documentation built on Aug. 3, 2024, 4:57 p.m.