Overview Section
Here we'll introduce some functions from the package rmarkdown
that is integrated in RStudio and greatly simplifies documenting your work. We'll be using Chapter 4 of Essential R.
Objectives
Upon completion of this lesson, you should be able to:
- create and save an R script file (.R file) with code, comments, and figures
- compile this file to produce an HTML notebook which includes all of these elements
- recognize common errors in compilation of HTML notebooks
The R code file for this chapter can be found in the "Code Files" folder. This chapter does not require external data.