powered by
keep(..., list = character(0), sure = FALSE)
NULL
sure
TRUE
rm()
Implemented with a few safety caps: objects whose name starts with a period . are not removed, and sure=TRUE is required to perform the removal.
.
sure=TRUE
rm
data(women, cars) keep(cars) ## To remove all objects except cars, run: ## keep(cars, sure=TRUE)
Run the code above in your browser using DataLab