Skip to the main content

RStudio keyboard shortcuts

Running code, the console, panes, debugging, and packages in the RStudio IDE.

55 shortcuts Mac and Windows checked September 14, 2026

Print all 55 shortcuts One sheet with every shortcut in this app, ready for the printer or a PDF.

8 actions and 8 key variants match.

Search all apps

Matching shortcuts
Action Keys Row actions
Go to a file or function Anywhere Windows Ctrl. Source
Run from the start to the current line Source editor Windows CtrlAltB Source
Run from the current line to the end Source editor Windows CtrlAltE Source
Go to a line Source editor Windows ShiftAltG Source
Go to the next section Source editor Windows CtrlPage Down Source
Go to the previous section Source editor Windows CtrlPage Up Source
Run the next line Debugging Windows F10 Source
Restart the R session Anywhere Windows CtrlShiftF10 Source

About RStudio and its shortcuts

RStudio is organised around the loop of writing code, running it and reading the result, and its shortcuts follow that loop: send a line or a selection to the console, navigate between the four panes, knit a document, and search the help. The pane navigation commands are what make it feel like one program rather than four windows.

RStudio lets you modify its bindings, and some commands depend on the project type or on whether you are editing a notebook, a script or a document. Desktop and server versions can also differ where the browser intervenes.

Where the RStudio keys came from

Read from 1 documentation page published by the makers of RStudio. Report a key that is wrong

To see how one action is done in other apps as well as RStudio, browse the shortcuts by task. Shortcuts by task