This container helps compiling latex sources without the need to install all latex packages on your system. It also includes the R statistics package.
Pull image (from Docker Hub):
$ docker pull zapster/r-base-latex
or build:
$ docker build -t zapster/r-base-latex .
$ cd path/to/latex/src
# start container
$ docker run --rm -it -v $(pwd):/home/docker/data -w /home/docker/data zapster/r-base-latex
# use latex in the shell
docker$ pdflatex example.tex
docker$ pdflatex example.tex