#' write_list
#'
#' Convert a list to a text file, for manual observation - will write it to the current directory
#' @param my_list The R list
#' @param file_name What you want to name your text file
#' @export
write_list <- function(my_list,file_name) {
file <- paste(file_name,'.txt',sep='')
sink(file)
print(my_list)
sink()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.