Bookdown: Markdown Texts in R
The bookdown package is an open-source R package that facilitates writing books and long-form articles/reports with R Markdown. Features include:
Multiple choices of output formats: PDF, LaTeX, HTML, EPUB, and Word. Possibility of including dynamic graphics and interactive applications (HTML widgets and Shiny apps). Support a wide range of languages: R, C/C++, Python, Fortran, Julia, Shell scripts, and SQL, etc. LaTeX equations, theorems, and proofs work for all output formats.