Projects
What Is the Source of Truth?
- Instruct RStudio not to preserve your workspace between sessions.
usethis::use_blank_slate()
- or go to Tools -> Global Options -> General

Figure 6.3: Copy these options in your RStudio options to always start your RStudio session with a clean slate.
Cmd/Ctrl + Shift + 0/F10
to start RCmd/Ctrl + Shift + S
to rerun the R script