knitr::opts_chunk$set( comment = "#>", collapse = TRUE )
If you use RStudio, there is a good chance that you love the
Knit
button that will give you the power of one-click R Markdown document compilation. Luckily, we also prepared four RStudio addins that supports
containerizing and rendering your documents with liftr.
This addin helps you generate the Dockerfile
for the current
R Markdown document opened in RStudio (with liftr meta),
using lift()
.
This addin will generate the Dockerfile
based on the document,
create the Docker container, and render the document inside the
container using render_docker()
.
Sometimes the Docker image build fails due to various reasons, this addin will help you clean up the unused dangling containers and images automatically.
After having a satisfying rendered document, maybe you would not need the Docker image for rendering the document for a long time. This addin helps you remove that particular Docker image.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.