how to remove a variable from global environment r code example
Example: delete variable from environment r
remove(..., list = character(0), pos = -1,
envir = as.environment(pos), inherits = FALSE)
rm (..., list = character(0), pos = -1,
envir = as.environment(pos), inherits = FALSE)