Chapter 1 Preamble

is the next iteration of package by Hadley Wickham. Much faster than the earlier package, works on larger datasets. A crucial differerence is the use of pipe operator %>% to perform tasks in dplyr. Installation and use is same as other packages

devtools::install_github("rstudio/bookdown")

Remember each Rmd file contains one and only one chapter, and a chapter is defined by the first-level heading #.

To compile this example to PDF, you need to install XeLaTeX.