cleanup<-function(script_file){
file_name <- paste(script_file,".txt", sep="")
if (file.exists(file_name)) file.remove(file_name)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.