Skip to content

csdaw/rmarkdown-tinytex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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:

  • base R (uses rocker/r-ver)
  • pandoc
  • rmarkdown and dependencies
  • tinytex

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")

About

🐳 A minimal docker image for knitting R Markdown to PDF πŸ“•

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy