RStudio
Document the package
To document the package in RStudio, press Ctrl + Shift + D. On a Mac, press Cmd + Shift + D instead.
Where it works: Package project
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdShiftD |
| Windows | Desktop app | CtrlShiftD |
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.