RStudio Linux Shortcuts
| Action | Linux Shortcut |
|---|---|
| Run code | |
| Run current line / selection | CtrlEnter |
| Run current chunk | CtrlShiftEnter |
| Source the file | CtrlShiftS |
| Source with echo | CtrlShiftEnter |
| Restart R session | CtrlShiftF10 |
| Insert pipe operator | CtrlShiftM |
| Insert assignment <- | Alt- |
| Editing | |
| Undo | CtrlZ |
| Redo | CtrlShiftZ |
| Comment / uncomment lines | CtrlShiftC |
| Reindent lines | CtrlI |
| Reformat code | CtrlShiftA |
| Delete line | CtrlD |
| Code completion | Tab |
| Navigation | |
| Go to file / function | Ctrl. |
| Go to line | ShiftAltG |
| Go to definition | F2 |
| Switch to Source | Ctrl1 |
| Switch to Console | Ctrl2 |
| Find & Help | |
| Find | CtrlF |
| Find in files | CtrlShiftF |
| Help for function | F1 |
| Show keyboard shortcuts | AltShiftK |