vim.srcdir <- function(dr = "."){
for(f in list.files(path = dr, pattern = "\\.[RrSsQq]$")){
cat(f, "\n")
source(paste(dr, "/", f, sep = ""))
}
return(invisible(NULL))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.