#' Execute code in console
#'
#' Wrapper of \code{rstudioapi::sendToConsole}
#'
#' @param x character string. Some code to be executed.
#'
send_console <- function(x) {
rstudioapi::sendToConsole(deparse(x), execute = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.