copy_script <- function(from, to, complete_path = TRUE){
new_location_script <- paste0(to, sep = "/", base::basename(from))
base::file.copy(from, new_location_script, overwrite = TRUE, copy.date = TRUE)
return(new_location_script)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.