#' Function saveCorpus
#' @param corpus Character vector containing one document per element.
#' @keywords text mining
#' @export
saveCorpus <- function (corpus)
{
write.table(corpus, paste0(Sys.Date(), deparse(substitute(corpus)),
".txt"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.