You need Rtools installed beforehand.
Furthermore, you need the package devtools to perform these commands in R:
- Download in R: devtools::install_github('juliusfoerstel/LaseR')
- Load package: library(LaseR)
Just install all the packages, that might seem to be missing along the way...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.