This post lists useful shortcuts that will increase your productivity in using RStudio IDE. This subset is a subjective selection: for more shortcuts, press the combination Alt + Shift + K.
| Category | Action | Key combination |
|---|---|---|
| Navigation | Go to next tab Go to previous tab |
|
| Panels | Move cursor to Editor Move cursor to Console Move cursor to Terminal Expand Editor panel Expand Console panel |
|
| Files | Create a new Save file Close file |
|
| Editor | Comment/uncomment current line/selection Send current line/selection to Console Send current line/selection to Terminal Insert assignment operator ( Insert pipe operator ( Move current line up Move current line down Delete current line Duplicate current line (below) Yank (cut) line up to cursor Yank (cut) line after cursor Add a cursor above current cursor Add a cursor below current cursor Add a cursor on the click |
|
| Build | Load project ( Check package ( Knit/Render/Preview Insert code chunk in |
|
| Other | Clear console/terminal | Ctrl + L |