R/rm.all.R

Defines functions rm.all

Documented in rm.all

rm.all = function(keep = NULL) {
  rm(list = ls(pos = .GlobalEnv)[! ls(pos = .GlobalEnv) %in% keep], pos = .GlobalEnv)
}

Try the desk package in your browser

Any scripts or data that you put into this service are public.

desk documentation built on May 29, 2024, 6:05 a.m.