From the course: Creating Reports and Presentations with R Markdown and RStudio

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Setting up TeX for generating R Markdown reports

Setting up TeX for generating R Markdown reports - RStudio Tutorial

From the course: Creating Reports and Presentations with R Markdown and RStudio

Start my 1-month free trial

Setting up TeX for generating R Markdown reports

- [Narrator] LaTeX is a typesetting system that R Markdown uses for generating PDF. But in order to set up your computer ready to use LaTeX, we first need to set up TeX on your machine. So what's TeX? TeX is the underlying typesetting system we use, and LaTeX is a specific, and the most popular, distribution of TeX. It's very rare you'll ever hear folks talk about TeX, everyone talks about LaTeX, which is why we're spending some time being explicit about everything, as some tutorials confuse this issue of what TeX and LaTeX is. The TeX distribution you want depends on the operating system you're using. MacTeX is a specialized version of LaTeX built for Macs. Linux users are the only folks who actually get to use LaTeX that's actually called LaTeX. And Windows users have a very specific distribution called MiKTex. Before I show you where to go and get your installers, please be warned: all tech distributions are at least three gigabytes in size, and it will take some time to download…

Contents