Are you finding the Keyboard shortcuts for RStudio? RStudio provides shortcuts to help you quickly work on documents. Here is the list of all shortcuts that you can use in RStudio. This post will help you to check and make your RStudio work faster with Most Used.
Table of Contents
Console
Keyboard Shortcuts (Windows)
Menu Description
Ctrl+2
Move cursor to console
Ctrl+L
Clean console
Home
Move cursor to beginning of line
End
Move cursor to end of line
Up/Down
Navigate command history
Ctrl+Up
Popup command history
Esc
Interrupt currently executing command
Ctrl+Shift+H
Change working directory
Source
Keyboard Shortcuts (Windows)
Menu Description
Ctrl+.
Goto file/function
Ctrl+1
Move cursor to source editor
Ctrl+Shift+N
New document (except on chrome/windows)
Ctrl+Alt+Shift+N
New document (Chrome only)
Ctrl+O
Open document
Ctrl+S
Save active document
Ctrl+W
Close active document (except on Chrome)
Ctrl+Alt+W
Close active document (Chrome only)
Ctrl+Shift+W
Close all open documents
Ctrl+Shift+K
Preview HTML (markdown and HTML)
Ctrl+Shift+K
Compile notebook/compile PDF (TeX and Sweave)
Ctrl+Alt+I
Insert chunk (Sweave and Knitr)
Ctrl+Shift+R
Insert code section
Ctrl+Enter
Run current line/selection
Alt+Enter
Run current line/selection (retain cursor position)
Well, there you have it, RStudio shortcuts list. You might not have known about these shortcuts. If I’ve left important something out in this list, feedback is appreciated and welcome on the Make A Public List.
[…] Keyboard Shortcuts for RStudio […]