RStudio IDE keyboard shortcuts

In RStudio the keys that matter most send code to R: a line, a chunk, a section or the whole file, each with its own shortcut. Posit gives one set for Windows and Linux and another for the Mac, and a few change when RStudio runs in a browser, which the notes point out. These are the default bindings; Tools > Modify Keyboard Shortcuts changes any of them, and the Emacs, Vim and Sublime Text keymaps change some.

163 shortcutsWindows and MacChecked 27 September 2026

Checked against Posit — RStudio User Guide: Keyboard Shortcuts, Posit — RStudio User Guide: Text Editor, Posit — RStudio User Guide: Custom Shortcuts and Posit — RStudio and Posit Workbench release notes. Version: RStudio 2026.09.0, Desktop and Server, default keybindings.

163 shortcuts

The top 20 are the RStudio shortcuts this page marks as the ones to learn first, in the order they appear here. The drill asks the marked ones first too, shuffled. Or tick your own and print those.

Next