RStudio is the leading integrated development environment for the R programming language and data science work. Its keyboard shortcuts streamline running code, navigating scripts, and managing the console, making analysis flow more smoothly.
Official:Official site
All RStudio keyboard shortcuts (Windows)
40 shortcuts
Editing 8
| Action | Shortcut |
|---|---|
| Comment or Uncomment Lines | CtrlShiftC |
| Attempt Completion | Tab |
| Insert Assignment Operator | Alt− |
| Insert Pipe Operator | CtrlShiftM |
| Reformat Selection | CtrlShiftA |
| Delete Line | CtrlD |
| Extract Function from Selection | CtrlAltX |
| Extract Variable from Selection | CtrlAltV |
Navigation 6
| Action | Shortcut |
|---|---|
| Show Command Palette | CtrlShiftP |
| Go to File or Function | Ctrl. |
| Find and Replace | CtrlF |
| Find in Files | CtrlShiftF |
| Toggle Document Outline | CtrlShiftO |
| Go to Line | AltShiftG |
Run 6
| Action | Shortcut |
|---|---|
| Run Current Line or Selection | CtrlEnter |
| Run Current Document | CtrlAltR |
| Run Current R Markdown Chunk | CtrlAltC |
| Source Current Document | CtrlShiftS |
| Run from Beginning to Current Line | CtrlAltB |
| Run Current Code Section | CtrlAltT |
Source 6
| Action | Shortcut |
|---|---|
| Save Active Document | CtrlS |
| Knit Document | CtrlShiftK |
| Move Cursor to Source Editor | Ctrl1 |
| New Document | CtrlShiftN |
| Insert Code Chunk | CtrlAltI |
| Save All Documents | CtrlAltS |
Console 4
| Action | Shortcut |
|---|---|
| Clear Console | CtrlL |
| Interrupt Executing Command | Esc |
| Move Cursor to Console | Ctrl2 |
| Popup Command History | Ctrl↑ |
Debug 4
| Action | Shortcut |
|---|---|
| Toggle Breakpoint | ShiftF9 |
| Execute Next Line (Debug) | F10 |
| Continue (Debug) | ShiftF5 |
| Stop Debugging | ShiftF8 |
Build 2
| Action | Shortcut |
|---|---|
| Install and Restart Package | CtrlShiftB |
| Load All (devtools) | CtrlShiftL |
Help 1
| Action | Shortcut |
|---|---|
| Show Help for Function at Cursor | F1 |
Git 1
| Action | Shortcut |
|---|---|
| Commit Changes | CtrlAltM |
Terminal 1
| Action | Shortcut |
|---|---|
| New Terminal | ShiftAltR |
Session 1
| Action | Shortcut |
|---|---|
| Restart R Session | CtrlShiftF10 |
Sourced from docs.posit.co, support.posit.co Last verified
Unofficial reference. ShortcutPosters is not affiliated with, endorsed by, or sponsored by RStudio. All product names, logos, and trademarks are property of their respective owners. See our licensing & trademark notice.
Get the RStudio poster
5 art directions — pick one below, click to zoom & compare.
A printable, framed-quality poster of the essential RStudio shortcuts for Windows — the keys worth keeping in view, designed to stay readable on a wall.
Free PNG is web-resolution & watermarked.
Frequently asked questions
- Does the poster include every RStudio shortcut?
- RStudio has 40 keyboard shortcuts on Windows — the complete list is free to read on this page. The poster features the most essential ones, curated to stay readable on a wall.
- Can I print it at home?
- Yes. The digital download is a high-resolution 300 DPI file you can print at home or at any print shop, in standard frame sizes.
- Does it cover both Mac and Windows?
- We sell a separate edition per platform so every key matches your keyboard exactly. This page is the Windows edition.
- Is this an official RStudio product?
- No. This is an unofficial reference poster and is not affiliated with or endorsed by RStudio. All trademarks belong to their respective owners.
Thanks — your feedback helps us improve.
Promote your app
Built an app with great keyboard shortcuts? Get it into the database — a free, searchable reference page, and an optional printable poster your power users will pin to the wall.
- Free shortcut reference page
- Indexed & searchable
- Optional framed poster