library(knitr)
library(markdown)
library(rmarkdown)
Sys.setenv(RSTUDIO_PANDOC="/usr/lib/rstudio/bin/pandoc")
rmarkdown::render("ejemplo-uso.Rmd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.