I am using a Rocker image for using RStudio with Binder. With that I need Latex.
Is there any good way for me to install needed Latex packages? I keep having issues.
I tried two options:
- Installing the package via the Dockerfile (
RUN tlmgr install thumbpdf)
tinytex::latexmk(...)in RStudio and hoping the package will install itself.
As an example, see:
- Binder: https://mybinder.org/v2/gl/jstatsoft%2F3051_sparsebn/master?urlpath=rstudio
- Repo: https://gitlab.com/jstatsoft/3051_sparsebn
library("knitr") library("tinytex") ## create paper latexmk("paper.tex", engine = "pdflatex")
I hope my question is clear enough. I would appreciate any help. Thanks!