erase_masking {eponge} | R Documentation |
Erase objects from GlobalEnv, which are masking objects from attached packages
erase_masking(pattern = NULL, verbose = FALSE)
erase_masking_functions(pattern = NULL, verbose = FALSE)
pattern |
a regex pattern |
verbose |
print removed objects' names |
We have to highglight, that for now it only allows us to remove objects from the Global Environment. Be careful: uncontrolled use may cause undesired side effects.
NULL (function returns nothing)
# It works only if objects are assigned in the global environment
matrix <- matrix(0, 3, 3)
gamma <- 0.9
erase_masking()