#' @export
clearWorkspace <- function() {
outputFunProc(R)
cat("Resetting R-Environment ... \n")
rm(list = ls(envir = .GlobalEnv), envir = .GlobalEnv)
outputDone()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.