Merge R with Latex; e.g., writing thesis using R:
https://github.com/rosannav/thesis_in_rmarkdown
https://rosannavanhespenresearch.wordpress.com/2016/03/30/writing-your-thesis-with-r-markdown-5-the-thesis-layout/
https://stackoverflow.com/questions/51323481/automatically-adjust-large-plots-to-fit-page-pdf-output-from-rmarkdown
https://kbroman.org/Tools4RR/assets/lectures/11_knitrpapers.pdf
https://github.com/andrewheiss/SublimeKnitr/issues/17