*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
Andrew's top 10 RStudio shortcutsSome useful RStudio shortcuts...
| Shortcut | What it does |
|---|---|
Alt + - | Insert the assignment operator <- |
Ctrl + Shift + M | Insert pipe %>% |
Ctrl + Shift + R | Insert section |
Ctrl + Alt + I | Insert or breaks up RMarkdown code chunk |
Ctrl + Alt + B | Run all code from beginning of script to cursor |
Ctrl + Alt + E | Run all code from cursor to end of script |
Alt + Up/Down | Move selected code up or down |
Ctrl + Alt + click | Creates multiple cursors |
Ctrl + I | Fix line indentations |
Ctrl + Shift + A | Reformat selected code |
Ctrl + Shift + C | Comment or uncomment selected code |
More resources
...