RStudio in Docker with knitr, RMarkdown, and enough TeX to generate PDF