Workflows
module 1
week 2
file systems
paths
RStudio Projects
working directories
Access file systems with paths and set working directories with RStudio Projects
Using R involves working with multiple files in your project folders. To read in data and save figures, you need to be able to navigate the directory structure of your file system.
Learning objectives
- Access files in directories with file managers and terminals
- Distinguish between absolute and relative directory paths
- Navigate across subdirectories in a terminal
- Set working directories with RStudio Projects
Pre-meeting
To prepare for this class meeting, please do the following:
- Read R4DS2 9
Class meeting
- Directory structure
- Paths
- Working directories
- RStudio Projects
- Running commands
- Slides
Homework after the class meeting
Wrap up this lesson
- Complete the exercises
For next class meeting
- Read R Markdown, complete Markdown tutorial