Sign inSign up

csdaw/rmarkdown-tinytex

By csdaw

•Updated about 6 years ago

🐳 A minimal docker image for knitting R Markdown to PDF 📕

Image
0

10K+

csdaw/rmarkdown-tinytex repository overview

⁠rmarkdown-tinytex

pulls image dockerfile base license

A minimal docker image for knitting R Markdown documents. I use this image as the base for the Dockerfiles in my reproducible research projects.

Includes:

⁠Build image

# latest R version
docker build . -t rmarkdown-tinytex --build-arg R=latest

# specific R version
docker build . -t rmarkdown-tinytex --build-arg R=4.0.2

⁠Run container and knit test document automatically

cd # to wherever this folder is
docker run --rm -v $PWD:/home -w /home csdaw/rmarkdown-tinytex \
  Rscript -e 'rmarkdown::render("test.Rmd")'

⁠Run container and knit test document interactively

cd # to wherever this folder is
docker run --rm -it -v $PWD:/home -w /home csdaw/rmarkdown-tinytex R
rmarkdown::render("test.Rmd")

Tag summary

Content type

Image

Digest

Size

443.4 MB

Last updated

about 6 years ago

docker pull csdaw/rmarkdown-tinytex