Lecture 3

Workflow and Best Practices

October 14, 2025


Slides & Code

HTML slidesRaw qmd fileR Code


Suggested Reading (from R for Data Science (2e)1)

Chapter 3: Workflow:basics
Chapter 4: Workflow:code style
Chapter 5: Workflow:scripts and projects
Chapter 6: Workflow:getting help
Chapter 28: A field guide to base R (Sections 28.1 - 28.2.2, 28.3.1 - 28.3.2)


1 Hadley Wickham, Mine Çetinkaya-Rundel & Garrett Grolemund

Useful Resources

Cheatsheets

Base R

Package websites

stylerreprexhere

Crowdsource Help

CS&SS 508 Slack WorkspacePosit communityStackoverflow