In this chapter, we will cover RStudio projects, RStudio's file manager, introduce version control, and show how to use RStudio's integrated version control features.
In Chapter 1, Getting Started, we introduced the concept of a compendium—the set of scripts and data files that reproduce a statistical analyses as well as the report that is based on it. Managing growing sets of interdependent files, especially when multiple people are working on the same analyses, can be a hassle. RStudio's project management features make things a lot more manageable.
Always create an RStudio project, even for simple analyses—it makes managing your scripts a lot easier with virtually no extra effort.
Technically, an RStudio ...