#' Analog of Matlab function to clear all variables from the global environment
#' @export clear
clear <- function() {
genv <- globalenv()
rm(list = ls(genv), envir = genv)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.