RStudio (Windows)
Editing (Console and Source)
Select page up/down
Shift + Page Up / Shift + Page down
All hotkeys for RStudio (Windows)
ConsoleMove cursor to console |
Ctrl + 2 |
ConsoleClean console |
Ctrl + L |
ConsoleMove cursor to beginning of line |
Home |
ConsoleMove cursor to end of line |
End |
ConsoleNavigate command history |
Up / Down |
ConsolePopup command history |
Ctrl + Up |
ConsoleInterrupt currently executing command |
Esc |
ConsoleChange working directory |
Ctrl + Shift + H |
SourceGoto file/function |
Ctrl + . |
SourceMove cursor to source editor |
Ctrl + 1 |
SourceNew document (except on chrome/windows) |
Ctrl + Shift + N |
SourceNew document (Chrome only) |
Ctrl + Alt + Shift + N |
SourceOpen document |
Ctrl + O |
SourceSave active document |
Ctrl + S |
SourceClose active document (except on Chrome) |
Ctrl + W |
SourceClose active document (Chrome only) |
Ctrl + Alt + W |
SourceClose all open documents |
Ctrl + Shift + W |
SourcePreview HTML (markdown and HTML) |
Ctrl + Shift + K |
SourceCompile notebook/compile PDF (TeX and Sweave) |
Ctrl + Shift + K |
SourceInsert chunk (Sweave and Knitr) |
Ctrl + Alt + I |
SourceInsert code section |
Ctrl + Shift + R |
SourceRun current line/selection |
Ctrl + Enter |
SourceRun current line/selection (retain cursor position) |
Alt + Enter |
SourceRe-run previous region |
Ctrl + Shift + P |
SourceRun current document |
Ctrl + Alt + R |
SourceRun from document beginning to current line |
Ctrl + Alt + B |
SourceRun from current line to document end |
Ctrl + Alt + E |
SourceRun from current line to document end |
Ctrl + Alt + F |
SourceRun the current code section |
Ctrl + Alt + T |
SourceRun previous sweave/Rmd code |
Ctrl + Alt + P |
SourceRun the current Sweave/Rmd chunk |
Ctrl + Alt + C |
SourceRun the next Sweave/Rmd chunk |
Ctrl + Alt + N |
SourceSource a file |
Ctrl + Shift + O |
SourceSource the current document |
Ctrl + Shift + S |
SourceSource the current document (with echo) |
Ctrl + Shift + Enter |
SourceFold selected |
Alt + L |
SourceUnfold selected |
Shift + Alt + L |
SourceFold all |
Alt + O |
SourceUnfold all |
Shift + Alt + O |
SourceGo to line |
Shift + Alt + G |
SourceJump to |
Shift + Alt + J |
SourceSwitch to tab |
Ctrl + Shift + . |
SourcePrevious tab |
Ctrl + F11 |
SourceNext tab |
Ctrl + F12 |
SourceFirst tab |
Ctrl + Shift + F11 |
SourceLast tab |
Ctrl + Shift + F12 |
SourceNavigate back |
Ctrl + F9 |
SourceNavigate forward |
Ctrl + F10 |
SourceExtract function from selection |
Ctrl + Alt + X |
SourceExtract variable from selection |
Ctrl + Alt + V |
SourceReindent lines |
Ctrl + I |
SourceComment/uncomment current line/selection |
Ctrl + Shift + C |
SourceReflow comment |
Ctrl + Shift + / |
SourceReformat selection |
Ctrl + Shift + A |
SourceShow diagnostics |
Ctrl + Shift + Shift + P |
SourceMove lines Up/Down |
Alt + Up/Down |
SourceCopy lines Up/Down |
Shift + Alt + Up/Down |
SourceJump to matching Brace/Paren |
Ctrl + P |
SourceExpand to matching Brace/Paren |
Ctrl + Shift + E |
SourceSelect to matching Brace/Paren |
Ctrl + Shift + Alt + E |
SourceAdd cursor above current cursor |
Ctrl + Alt + Up |
SourceAdd cursor beow current cursor |
Ctrl + Alt + Down |
SourceMove active cursor up |
Ctrl + Alt + Shift + Up |
SourceMove Active Cursor Down |
Ctrl + Alt + Shift + Down |
SourceFind and replace |
Ctrl + F |
SourceFind next |
F3 |
SourceFind previous |
Shift + F3 |
SourceUse selection for find |
Ctrl + F3 |
SourceReplace and find |
Ctrl + Shift + J |
SourceFind in files |
Ctrl + Shift + F |
SourceCheck spelling |
F7 |
Completions (Console and Source)Attempt completion |
Tab / Ctrl + Space |
Completions (Console and Source)Navigate candidates |
Up / Down |
Completions (Console and Source)Accept selected candidate |
Enter / Tab / Right |
Completions (Console and Source)Dismiss completion popup |
Esc |
ViewsMove focus to Source Editor |
Ctrl + 1 |
ViewsMove focus to Console |
Ctrl + 2 |
ViewsMove focus to Help |
Ctrl + 3 |
ViewsShow History |
Ctrl + 4 |
ViewsShow files |
Ctrl + 5 |
ViewsShow plots |
Ctrl + 6 |
ViewsShow packages |
Ctrl + 7 |
ViewsShow environment |
Ctrl + 8 |
ViewsShow git/svn |
Ctrl + 9 |
ViewsShow build |
Ctrl + 0 |
ViewsSync editor & pdf preview |
Ctrl + F8 |
ViewsReference |
Alt + Shift + K |
BuildBuild and reload |
Ctrl + Shift + B |
BuildLoad all (devtools) |
Ctrl + Shift + L |
BuildTest package (desktop) |
Ctrl + Shift + T |
BuildTest package (web) |
Ctrl + Alt + F7 |
BuildCheck package |
Ctrl + Shift + E |
BuildDocument package |
Ctrl + Shift + D |
DebugToggle breakpoint |
Shift + F9 |
DebugExecute next line |
F10 |
DebugStep into function |
Shift + F4 |
DebugFinish function/loop |
Shift + F6 |
DebugContinue |
Shift + F5 |
DebugStop debugging |
Shift + F8 |
PlotsPrevious plot |
Ctrl + Alt + F11 |
PlotsNext plot |
Ctrl + Alt + F12 |
Git / SVNDiff active source document |
Ctrl + Alt + D |
Git / SVNCommit changes |
Ctrl + Alt + M |
Git / SVNScroll diff view |
Ctrl + Up/Down |
Git / SVNStage/unstage(Git) |
Spacebar |
Git / SVNStage/unstage and move to next (Git) |
ENter |
SessionQuit Session (desktop only) |
Ctrl + Q |
SessionRestart R Session |
Ctrl + Shift + F10 |
Editing (Console and Source)Undo |
Ctrl + Z |
Editing (Console and Source)Redo |
Ctrl + Shift + Z |
Editing (Console and Source)Cut |
Ctrl + X |
Editing (Console and Source)Copy |
Ctrl + C |
Editing (Console and Source)Paste |
Ctrl + V |
Editing (Console and Source)Select all |
Ctrl + A |
Editing (Console and Source)Jump to word |
Ctrl + Left/Right |
Editing (Console and Source)Jump to start/end |
Ctrl + Home/End / Ctrl + Up/Down |
Editing (Console and Source)Delete line |
Ctrl + D |
Editing (Console and Source)Select |
Shift + Arrow |
Editing (Console and Source)Select word |
Ctrl + Shift + Left/Right |
Editing (Console and Source)Select to line start |
Alt + Shift + Left |
Editing (Console and Source)Select to line end |
Alt + Shift + RIght |
Editing (Console and Source)Select page up/down |
Shift + Page Up / Shift + Page down |
Editing (Console and Source)Select page start/end |
Ctrl + Shift + Home/End |
Editing (Console and Source)Delete word left |
Ctrl + Backspace |
Editing (Console and Source)Indent |
Tab |
Editing (Console and Source)Outdent |
Shift + Tab |
Editing (Console and Source)Yank line up to cursor |
Ctrl + U |
Editing (Console and Source)Yank line after cursor |
Ctrl + K |
Editing (Console and Source)Insert currently yanked text |
Ctrl + Y |
Editing (Console and Source)Insert assignment operator |
Alt + - |
Editing (Console and Source)Insert pipe operator |
Ctrl + Shift + M |
Editing (Console and Source)Show help for function at cursor |
F1 |
Editing (Console and Source)Show source code for function at cursor |
F2 |
Editing (Console and Source)Find usages for symbol at cursor (C++) |
Ctrl + Alt + U |