Console |
Description |
Windows & Linux |
Mac |
Position the cursor to the console |
Ctrl+2 |
Ctrl+2 |
Emptying the console |
Ctrl+l |
Command+l |
Position the cursor at the beginning of the line |
Home |
Command+left |
Position the cursor at the end of the line |
End |
Command+right |
Navigating through the history command |
Up/down |
Up/down |
Pop-Up History Command box |
Ctrl+up |
Command+up |
Interrupts the execution of the current command |
Esc |
Esc |
Change the working directory |
Ctrl+shift+k |
Ctrl+shift+k |
|
|
|
Source |
Description |
Windows & Linux |
Mac |
Jump to File/function |
CTRL +. |
CTRL +. |
Cursor positioning to Source Editor |
Ctrl+1 |
Ctrl+1 |
Create a new file (exception on chrome/windows) |
Ctrl+shift+n |
Command+shift+n |
Open File |
Ctrl+o |
Command+o |
Save current file |
Ctrl+s |
Command+s |
Close the current file (exception on Chrome) |
Ctrl+w |
Command+w |
Close the current file (for Chrome only) |
Ctrl+shift+z |
Command+shift+z |
Close all open files |
Ctrl+shift+w |
Command+shift+w |
Preview in HTML |
Ctrl+shift+y |
Command+shift+y |
Knit to HTML |
Ctrl+shift+h |
Command+shift+h |
Compiling PDF (TeX and Sweave) |
Ctrl+shift+i |
Command+shift+i |
Insert Block |
Ctrl+alt+i |
Command+option+i |
Inserting Code Snippets |
Ctrl+shift+r |
Command+shift+r |
Run the current/selected code |
Ctrl+enter |
Command+enter |
Run the previous zone again |
Ctrl+shift+p |
Command+shift+p |
Run the current file |
Ctrl+alt+r |
Command+option+r |
Code to run from the beginning of the file to where the cursor is located |
Ctrl+alt+b |
Command+option+b |
Code in the run file from the cursor to the end of the file |
Ctrl+alt+e |
Command+option+e |
Run the current function definition code |
Ctrl+alt+f |
Command+option+f |
Run the current code block |
Ctrl+alt+c |
Command+option+c |
Run the next block of code |
Ctrl+alt+n |
Command+option+n |
Execute code in an external file |
Ctrl+shift+o |
Command+shift+o |
Execute code in the current file |
Ctrl+shift+s |
Command+shift+s |
Executes the code in the current file (and outputs) |
Ctrl+shift+enter |
Command+shift+enter |
Collapse the selected code |
Alt+l |
Command+option+l |
Open the selected code |
Shift+alt+l |
Command+shift+option+l |
Collapse All code |
Alt+0 |
Command+option+0 |
Open All Code |
Shift+alt+0 |
Command+shift+option+0 |
Jump to a specified line |
Shift+alt+g |
Command+shift+option+g |
Jump to |
Shift+alt+j |
Command+shift+option+j |
Toggle Tab |
Ctrl+alt+down |
Ctrl+option+down |
Switch to Previous tab |
Win:ctrl+alt+left, Linux:ctrl+pageup |
Ctrl+option+left |
Switch to the next tab |
Win:ctrl+alt+right, Linux:ctrl+pagedown |
Ctrl+option+right |
Switch to the first tab |
Ctrl+shift+alt+left |
Ctrl+shift+option+left |
Switch to the Last tab |
Ctrl+shift+alt+right |
Ctrl+shift+option+right |
Switch forward (like browser →) |
Ctrl+f9 |
Command+f9 |
Navigate backwards (browser-like ←) |
Ctrl+f10 |
Command+f10 |
Reindent lines |
Ctrl+i |
Command+i |
Extracting a function from the selected code |
Ctrl+shift+u |
Command+shift+u |
Comment/uncomment current line/selected area |
Ctrl+shift+c |
Command+shift+c |
Reflow Comment |
ctrl+shift+/ |
command+shift+/ |
Transpose Letters |
|
Ctrl+t |
Move up/down one line |
Alt+up/down |
Option+up/down |
Copy Lines Up/down |
Ctrl+alt+up/down |
Command+option+up/down |
Jump to Matching Brace/paren |
Ctrl+p |
Ctrl+p |
Find and replace |
Ctrl+f |
Command+f |
Find the next |
WIN:F3, Linux:ctrl+g |
Command+g |
Find Previous |
WIN:SHIFT+F3, Linux:ctrl+shift+g |
Command+shift+g |
Replace and find |
ctrl+= |
command+= |
In the paper, the tea-shaft. |
Ctrl+shift+f |
Command+shift+f |
Spell check |
F7 |
F7 |
|
|
|
Editing (Console and Source) |
Description |
Windows & Linux |
Mac |
Revoke |
CTRL + Z |
Command+z |
Repeat Last Action |
Ctrl+shift+z |
Command+shift+z |
Shear |
Ctrl+x |
Command+x |
Copy |
CTRL + C |
Command+c |
Paste |
CTRL + V |
Command+v |
Select All |
CTRL + A |
Command+a |
Jump to a 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 Row |
Ctrl+d |
Command+d |
Choose |
Shift+[arrow] |
Shift+[arrow] |
Select a word |
Ctrl+shift+left/right |
Option+shift+left/right |
Select the content at the beginning of the cursor |
Shift+home |
Command+shift+left or Shift+home |
Check the cursor at the end of the line |
Shift+end |
Command+shift+right or Shift+end |
Select Page Up/down |
Shift+pageup/pagedown |
Shift+pageup/down |
Select content to start/end of file |
Ctrl+shift+home/end or Shift+alt+up/down |
Command+shift+up/down |
Delete the word on the left |
Ctrl+backspace |
Option+backspace or Ctrl+option+backspace |
Delete the word on the right |
|
Option+delete |
Delete the cursor to the end of the line |
|
Ctrl+k |
Delete the cursor to the beginning of the content |
|
Option+backspace |
Indent in |
Tab (at beginning of line) |
Tab (at beginning of line) |
Cancel Indent |
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+- |
To see the function help at the cursor |
F1 |
F1 |
View the function code at the cursor |
F2 |
F2 |
|
|
|
Completions (Console and Source) |
Description |
Windows & Linux |
Mac |
Auto-complete |
Tab or Ctrl+space |
Tab or Command+space |
Navigating through the history command |
Up/down |
Up/down |
Selected command |
Enter, Tab, or right |
Enter, Tab, or right |
Leave the popup auto-complete Prompt box |
Esc |
Esc |
|
|
|
Views |
Description |
Windows & Linux |
Mac |
Jump to File/function |
CTRL +. |
CTRL +. |
Position the cursor to the Code Editor |
Ctrl+1 |
Ctrl+1 |
Position the cursor to the console |
Ctrl+2 |
Ctrl+2 |
Position focus to help |
Ctrl+3 |
Ctrl+3 |
Show History |
Ctrl+4 |
Ctrl+4 |
Show Files |
Ctrl+5 |
Ctrl+5 |
Display image |
Ctrl+6 |
Ctrl+6 |
Show Package |
Ctrl+7 |
Ctrl+7 |
Show Workspace |
Ctrl+8 |
Ctrl+8 |
Show GIT/SVN |
Ctrl+9 |
Ctrl+9 |
Show Build |
Ctrl+0 |
Ctrl+0 |
Sync Editor and PDF preview |
Ctrl+f8 |
Command+f8 |
|
|
|
Build |
Description |
Windows & Linux |
Mac |
Compiling and overloading |
Ctrl+shift+b |
Command+shift+b |
Load All (Devtools) |
Ctrl+shift+l |
Command+shift+l |
Check Package |
Ctrl+shift+e |
Command+shift+e |
|
|
|
Plots |
Description |
Windows & Linux |
Mac |
Previous image |
Ctrl+shift+pageup |
Command+shift+pageup |
Next image |
Ctrl+shift+pagedown |
Command+shift+pagedown |
Show operator |
Ctrl+shift+m |
Command+shift+m |
|
|
|
Git/svn |
Description |
Windows & Linux |
Mac |
Compare Current source files |
Ctrl+shift+d |
Command+shift+d |
Submit Changes |
Ctrl+shift+m |
Command+shift+m |
Scroll to see the different |
Ctrl+up/down |
Ctrl+up/down |
Stage/unstage (Git) |
Spacebar |
Spacebar |
Stage/unstage and Move next (Git) |
Enter |
Enter |