Chapter 18 R Markdown collections

At some point, after using R Markdown for awhile, you may find yourself experiencing growing pains working with single R Markdown documents. If you do a lot of data wrangling and EDA, you’ll find your R Markdown documents can become quite long, making it hard to find what you need when you need it. That is when you know it is time to evolve!

A few ways to evolve your R Markdown ways:

  1. Start making good use of .R scripts and “outsource” those using source(wrangle.R).

  2. Start using R Markdown child documents.

  3. Recommended: start building an R Markdown collection per project. This is what we’ll demo now. We think this is the most flexible workflow that allows your research project to grow and change along with your ideas and needs.

bookdown::word_document2