ABSTRACT

This chapter helps you install, set up, and configure the necessary software to experiment with R Markdown and to implement the various recipes described throughout the book. First, we discuss how to install the rmarkdown package from either the most recent stable CRAN release or the development version on GitHub. Next, we discuss different options for installing pandoc and how to locate where pandoc is installed on your computer. Finally, we compare options for installing LaTeX if you wish to generate PDF reports. Here, we recommend the TinyTex distribution which is available through the tinytex package and explain how the package can help identify and install missing LaTeX packages. We also recommend that you install the RStudio IDE due to its strong editor support and integration with R Markdown.