WriteListToFile <- function(lst, outf){
sink(file = outf)
for (g in lst){
cat(g)
cat("\n")
}
sink()
return(NA)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.