Package for converting Rmarkdown files to Rscripts (and others)
After (installing and) loading:
library("devtools")
Then you can install:
install_github("sndean/RmdTo")
library(RmdTo)
rmd_convert('example.Rmd')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.