Tools > Keyboard Shortcuts Help (Alt + Shift + K)

Shortcut 1


Control/Ctrl + 1: Source editor (your script)
Control/Ctrl + 2: Console
Control/Ctrl + 3: Help
Control/Ctrl + 4: History
Control/Ctrl + 5: Files
Control/Ctrl + 6: Plots
Control/Ctrl + 7: Packages
Control/Ctrl + 8: Environment
Control/Ctrl + 9: Viewer

Shortcut 2


<- (Alt + - )
%<% (Ctrl + Shift + M)

Shortcut 3


Comment or uncomment lines (Control + Shift + C)
Move Lines Up/Down (Alt+Up/Down)
Delete Line (Ctrl+D)
Select (Shift+[Arrow])
Select Word (Ctrl+Shift+Left/Right)
Select to Line Start (Alt+Shift+Left)
Select to Line End (Alt+Shift+Right)

Shortcut 4


Run current line (Control + Enter)
Run current line (retain cursor position) (Alt+Enter)
Run all lines of code (Control + A + Enter)

Shortcut 5


Clear Console (Ctrl+L)
Restart the current R session (Control + Shift + F10)
Search the command history from the Console (Control + [up arrow])

Shortcut 6


Quickly Find Files and Functions (control/ctrl + .)
Open Files (Ctrl+O)
New File R Script (Ctrl+Shift+N)

R Markdown


Insert R chunk (Ctrl+Alt+I)
Open html/Preview (Alt + Shift + K)
Run selected line(s) (Ctrl+Enter)
Run Current Chunk (Ctrl+Shift+Enter)
Run Next Chunk (Ctrl+Alt+N)
Run All (Ctrl+Alt+R)
Run Above Chunk (Ctrl+Alt+Shift+P)
Reformat Section (Ctrl + Shift + A)


Direktorat Statistik Kesejahteraan Rakyat, BPS,