compR <-
function(path="."){print(paste(list.dirs(path=path)))
for(folder in list.dirs(full.names = TRUE)){
print(folder);
for(file in list.files(path=folder,pattern="*.rnw")){
print("##############################################")
print(file)
Sweavelst(file=file,path=folder)}}}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.