Containerize R Markdown Documents

Persistent reproducible reporting by containerization of R Markdown documents.

liftr extends the R Markdown metadata format, helps you generate Dockerfile for rendering documents in Docker containers. Users can also include and run pre-defined Rabix tools/workflows, then use Rabix output in their dockerized documents.

To download and install liftr from CRAN:


Or, you can try the development version on GitHub:

# install.packages("devtools")

To load the package in R, simply use


and you are all set. See the package vignette (can also be opened with vignette("liftr-intro") in R) for a quick-start guide.


CHANGES IN liftr VERSION 0.4 (2016-01-18)

  • Added four RStudio addins as shortcuts to create, dockerize, and render R Markdown documents.

CHANGES IN liftr VERSION 0.3 (2015-10-10)

  • Support specifying CRAN package version precisely.
  • Modified examples in documentation to comply with the lastest CRAN Repository Policy.
  • Installing packages with https.

CHANGES IN liftr VERSION 0.2 (2015-07-30)

  • Added new R Markdown header option pandoc to control Pandoc installation. Automatically set this to false for rocker/rstudio and bioconductor/... images. This solves issue #12.

CHANGES IN liftr VERSION 0.1 (2015-07-10)

  • Initial version of liftr. This version implemented two functions lift() and drender(). They provide basic support for dockerizing R Markdown documents, with support for running Rabix workflows/tools before rendering R Markdown documents in Docker containers.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.8 by Nan Xiao, a month ago,

Report a bug at

Browse source code at

Authors: Nan Xiao [aut, cre] (0000-0002-0250-5673), Miao-Zhu Li [ctb], Teng-Fei Yin [ctb]

Documentation:   PDF Manual  

GPL-3 | file LICENSE license

Imports yaml, knitr, rmarkdown, stringr, rstudioapi

System requirements: Docker (see <>)

See at CRAN