#' Copies dataframe copied to clipboard
#' @param dataframe object
#' @return dataframe in clipboard
#' @export
copy_to_clipboard <- function(dataframe) {
clip <- pipe("pbcopy", "wb")
write.table(dataframe, clip, sep = "\t", row.names = FALSE)
close(clip)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.