#' Sabali Guide: Clear
#'
#' This function activates the Sabali Help Guide for Clear
#' @param activate Do you need help? Defaults to TRUE.
#' @keywords help
#' @export
#' @examples
#' guide.clear()
guide.clear <- function(activate = TRUE){
if(activate == TRUE){
guide.clear <- data.frame("Description" = c("Clear All (Except Global Environment)", "Clear Console", "Clear Environment", "Clear Memory", "Clear Packages", "Clear Plots"), "Command" = c("clear.all()", "clear()", paste0("rm(list = ls(all.names = TRUE))"), "clear.memory()", "clear.packages()", "clear.plots()"))
print(guide.clear)
} else {
print("Cannot Access Guide")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.