premium course

Reporting with R Markdown

Start Course For Free
  • 8 Videos
  • 31 Exercises
  • 3 hours 
  • 34,005 Participants
  • 2550 XP


Garrett Grolemund
Garrett Grolemund

Garrett is the author of Hands-On Programming with R and R for Data Science from O'Reilly Media. He is a Data Scientist at RStudio and holds a Ph.D. in Statistics, but specializes in teaching. He's taught people how to use R at over 50 government agencies, small businesses, and multi-billion dollar global companies; and he's designed RStudio's training materials for R, Shiny, dplyr and more and is a frequent contributor to the RStudio blog. He wrote the popular lubridate package for R.


Filip Schouwenaars Filip Schouwenaars

Course Description

Learn how to write a data report quickly and effectively with the R Markdown package, and share your results with your friends, colleagues or the rest of the world. Learn how you can author your own R Markdown reports, and how to automate the reporting process so that you have your own reproducible reports. By the end of the interactive data analysis reporting tutorial, you will be able to generate reports straight from your R code, documenting your work — and its results — as an HTML, pdf, slideshow or Microsoft Word document.

Embedding Code 

Weave your code and narration into a single document and then render the document to create a finished report that includes both the code and its output. Understand how to customize this process, and open the door for automated, targeted reporting.

Compiling Reports 

This chapter will show you how to generate an HTML, pdf, or Microsoft Word version of your report, as well as a pdf or HTML slideshow. Discover how to customize details of the output, and how to combine R Markdown with Shiny and ggvis.

Configuring R Markdown (optional) 

The optional video tutorial and exercises in this chapter will help you configure your personal computer to use the R Markdown package.