ifrm <- function(objVec, env = globalenv()) {
for (obj in objVec) {
if ( exists(obj, envir = env)) {
eval(parse(text = paste0("rm(", obj, ", envir = env) ")))
}
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.