The goal of statamd is to provide utilities to help use 'Stata' and 'RMarkdown' together.
devtools::install_github("muschellij2/statamd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.