Cheat sheet guide
RStudio shortcuts worth learning first
This page collects 23 searchable RStudio keyboard shortcuts across 4 categories. Start with the shortcuts for Run code, Editing, Navigation, Find & Help, then print the cheat sheet once the important ones are worth keeping nearby.
- Run current line / selectionCtrlEnter
- UndoCtrlZ
- Go to file / functionCtrl.
- FindCtrlF
- Run current chunkCtrlShiftEnter
- Source the fileCtrlShiftS
Run code
7 shortcutsEditing
7 shortcutsNavigation
5 shortcutsFind & Help
4 shortcutsFrequently asked questions
What is the fastest way to find RStudio shortcuts on this page?
Use the search box or press /, then type an action such as run current line / selection.
Can I print this RStudio shortcut cheat sheet?
Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.
Does this page include Windows and Mac shortcuts for RStudio?
Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Run current line / selection is Ctrl+Enter on Windows and ⌘Enter on macOS where available.