Console |
Description |
Windows & Linux |
Mac |
Move cursor to Console |
Ctrl+2 |
Ctrl+2 |
Clear console |
Ctrl+L |
Command+L |
Move cursor to beginning of line |
Home |
Command+Left |
Move cursor to end of line |
End |
Command+Right |
Navigate command history |
Up/Down |
Up/Down |
Popup command history |
Ctrl+Up |
Command+Up |
Interrupt currently executing command |
Esc |
Esc |
Change working directory |
Ctrl+Shift+D |
Ctrl+Shift+D |
|
Source |
Description |
Windows & Linux |
Mac |
Move cursor to Source Editor |
Ctrl+1 |
Ctrl+1 |
New document (except on Chrome/Windows) |
Ctrl+Shift+N |
Command+Shift+N |
Open document |
Ctrl+O |
Command+O |
Save active document |
Ctrl+S |
Command+S |
Close active document (except on Chrome) |
Ctrl+W |
Command+W |
Close active document (Chrome only) |
Ctrl+Shift+L |
Command+Shift+L |
Compile PDF (TeX and Sweave) |
Ctrl+Shift+I |
Command+Shift+I |
Run current line/selection |
Ctrl+Enter |
Command+Enter |
Run current document |
Ctrl+Shift+Enter |
Command+Shift+Enter |
Run from document beginning to current line |
Ctrl+Shift+B |
Command+Shift+B |
Run from current line to document end |
Ctrl+Shift+E |
Command+Shift+E |
Run the current function definition |
Ctrl+Shift+F |
Command+Shift+F |
Re-run previous region |
Ctrl+Shift+P |
Command+Shift+P |
Source a file |
Ctrl+Shift+O |
Command+Shift+O |
Source the current document |
Ctrl+Shift+S |
Command+Shift+S |
Jump to function (.R files only) |
Ctrl+Alt+Up |
Ctrl+Option+Up |
Switch to tab |
Ctrl+Alt+Down |
Ctrl+Option+Down |
Previous tab |
Win: Ctrl+Alt+Left, Linux: Ctrl+PageUp |
Ctrl+Option+Left |
Next tab |
Win: Ctrl+Alt+Right, Linux: Ctrl+PageDown |
Ctrl+Option+Right |
First tab |
Ctrl+Shift+Alt+Left |
Ctrl+Shift+Option+Left |
Last tab |
Ctrl+Shift+Alt+Right |
Ctrl+Shift+Option+Right |
Extract function from selection |
Ctrl+Shift+U |
Command+Shift+U |
Comment/uncomment current line/selection |
Ctrl+/ |
Command+/ |
Transpose Letters |
|
Ctrl+T |
Move Lines Up/Down |
Alt+Up/Down |
Option+Up/Down |
Copy Lines Up/Down |
Ctrl+Alt+Up/Down |
Command+Option+Up/Down |
|
Editing (Console and Source) |
Description |
Windows & Linux |
Mac |
Undo |
Ctrl+Z |
Command+Z |
Redo |
Ctrl+Shift+Z |
Command+Shift+Z |
Cut |
Ctrl+X |
Command+X |
Copy |
Ctrl+C |
Command+C |
Paste |
Ctrl+V |
Command+V |
Select All |
Ctrl+A |
Command+A |
Jump to Word |
Ctrl+Left/Right |
Option+Left/Right |
Jump to Start/End |
Ctrl+Home/End or Ctrl+Up/Down |
Command+Home/End or Command+Up/Down |
Delete Line |
Ctrl+D |
Command+D |
Select |
Shift+[Arrow] |
Shift+[Arrow] |
Select Word |
Ctrl+Shift+Left/Right |
Option+Shift+Left/Right |
Select to Line Start |
Shift+Home |
Command+Shift+Left or Shift+Home |
Select to Line End |
Shift+End |
Command+Shift+Right or Shift+End |
Select Page Up/Down |
Shift+PageUp/PageDown |
Shift+PageUp/Down |
Select to Start/End |
Ctrl+Shift+Home/End or Shift+Alt+Up/Down |
Command+Shift+Up/Down |
Delete Word Left |
Ctrl+Backspace |
Option+Backspace or Ctrl+Option+Backspace |
Delete Word Right |
|
Option+Delete |
Delete to Line End |
|
Ctrl+K |
Delete to Line Start |
|
Option+Backspace |
Indent |
Tab (at beginning of line) |
Tab (at beginning of line) |
Outdent |
Shift+Tab |
Shift+Tab |
Yank line up to cursor |
Ctrl+U |
Ctrl+U |
Yank line after cursor |
Ctrl+K |
Ctrl+K |
Insert currently yanked text |
Ctrl+Y |
Ctrl+Y |
Insert assignment operator |
Alt+- |
Option+- |
|
Completions (Console and Source) |
Description |
Windows & Linux |
Mac |
Attempt completion |
Tab or Ctrl+Space |
Tab or Command+Space |
Navigate candidates |
Up/Down |
Up/Down |
Accept selected candidate |
Enter, Tab, or Right |
Enter, Tab, or Right |
Show help for selected candidate |
F1 |
F1 |
Dismiss completion popup |
Esc |
Esc |
|
Views |
Description |
Windows & Linux |
Mac |
Move cursor to Source Editor |
Ctrl+1 |
Ctrl+1 |
Move cursor to Console |
Ctrl+2 |
Ctrl+2 |
Show workspace |
Ctrl+3 |
Ctrl+3 |
Show data |
Ctrl+4 |
Ctrl+4 |
Show history |
Ctrl+5 |
Ctrl+5 |
Show files |
Ctrl+6 |
Ctrl+6 |
Show plots |
Ctrl+7 |
Ctrl+7 |
Show packages |
Ctrl+8 |
Ctrl+8 |
Show help |
Ctrl+9 |
Ctrl+9 |
|
Plots |
Description |
Windows & Linux |
Mac |
Previous plot |
Ctrl+Shift+PageUp |
Command+Shift+PageUp |
Next plot |
Ctrl+Shift+PageDown |
Command+Shift+PageDown |
Remove plot |
Ctrl+Shift+R |
Command+Shift+R |