erase_data {eponge} | R Documentation |
Remove all objects, which are listed in 'Data' section in RStudio
Description
Remove all objects, which are listed in 'Data' section in RStudio
Usage
erase_data(pattern = NULL, envir = parent.frame(), verbose = FALSE)
Arguments
pattern |
regex pattern to select a set of objects; default: NULL |
envir |
environment; default: caller environment |
verbose |
print removed objects' names |
Details
Function can be used with envir = globalenv() argument.
Value
NULL (function returns nothing)
Examples
cars.2 <- cars
test_fun <- function(x) x + 2
value <- 7
erase_data(verbose = TRUE)
[Package eponge version 0.1.0 Index]