Nothing
#' Snippet R function to clear console and set directory
#'
#' Shorthand to add clear console code to current file
#'
#' @return Inserts code to clear console
#'
#' @examples
#' if(interactive())
#' add.snippet.clear()
#' @export
#'
add.snippet.clear <- function() {
insertInText(paste0("
# script header
quickcode::libraryAll(
...
)
quickcode::clean(
setwd = './'
)
# script body
# session information
sessionInfo()
"))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.