RStudio
Run the whole document
Press Ctrl + Alt + R to run the whole document in RStudio. On a Mac, press Cmd + Option + R instead.
Where it works: Source editor
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdOptionR |
| Windows | Desktop app | CtrlAltR |
Where this comes from
Keyboard Shortcuts in the RStudio IDE - Posit Support
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.