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.

Installing R Markdown

Installing R Markdown - RStudio Tutorial

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

Start my 1-month free trial

Installing R Markdown

- [Instructor] Okay before we can start creating our reports, presentations, and other content with R Markdown, we need to install it onto our machines. So to do that, I'm going to load up RStudio, and in my console I'm going to use the same function that we use every time that we want to install a package; install.packages. I'll install to completion by hitting Enter, and in quotations I'll type "rmarkdown". When I hit Enter Rstudio goes away to CRAN, and it pulls down the R Markdown package and everything else that we need for the R Markdown package to run on our machine. That's finished installing, and now we're going to go to the menu bar, File, New File, and we're going to attempt to create a new R Markdown file. Unfortunately RStudio does a few checks to make sure, "oh, do I have everything that I need to generate R Markdown documents," and it turns out we don't. The R Markdown package at the time of recording misses out three dependencies caTools, bitops, and rprojroot. If…

Contents