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 - RStudio Tutorial
From the course: Creating Reports and Presentations with R Markdown and RStudio
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Installing R Markdown1m 41s
-
R Markdown, knitting, and generating outputs4m 13s
-
(Locked)
The YAML header of an .Rmd file3m 29s
-
(Locked)
Code chunks and global code chunk settings4m 8s
-
(Locked)
Writing and running R code in R Markdown files5m 45s
-
(Locked)
Splitting documents into sections or slides in R Markdown4m 21s
-
(Locked)
Tabbed sections in R Markdown HTML reports2m 22s
-
(Locked)
Formatting text in R Markdown files4m 5s
-
(Locked)
Bullets and lists in R Markdown2m 51s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-