Rstudio shortcut keys

Source: Internet
Author: User

Control Desk
function Windows & Linux Mac
Move the mouse to the console Ctrl+2 Ctrl+2
Console Clear Screen Ctrl+l Command+l
Move the mouse to the first line Home Command+left
Move the mouse to the last line End Command+right
History tumbling Up/down Up/down
Pop-up History bar Ctrl+up Command+up
Terminate the current order Esc Esc
Change the work path Ctrl+shift+k Ctrl+shift+k
Code Area
function Windows & Linux Mac
Move mouse to File search area CTRL +. CTRL +.
Move mouse to file editing area Ctrl+1 Ctrl+1
New documents (except Chrome) Ctrl+shift+n Command+shift+n
Open Document Ctrl+o Command+o
Save current document Ctrl+s Command+s
Close the current document (except Chrome) Ctrl+w Command+w
Close the current document (Chrome) Ctrl+shift+z Command+shift+z
Close all Documents Ctrl+shift+w Command+shift+w
previewing HTML Ctrl+shift+y Command+shift+y
Convert 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 blocks Ctrl+shift+r Command+shift+r
Run as Forward Ctrl+enter Command+enter
Re-run the current zone Ctrl+shift+p Command+shift+p
Run the current document Ctrl+alt+r Command+option+r
Run moves from the beginning Ctrl+alt+b Command+option+b
Run from current line to end Ctrl+alt+e Command+option+e
Run the current function definition Ctrl+alt+f Command+option+f
Run Current block Ctrl+alt+c Command+option+c
Run the next block Ctrl+alt+n Command+option+n
Execute a file Ctrl+shift+o Command+shift+o
Executing the current document Ctrl+shift+s Command+shift+s
Executes the current document and displays Ctrl+shift+enter Command+shift+enter
Collapse options Alt+l Command+option+l
Open options Shift+alt+l Command+shift+option+l
Collapse All Alt+0 Command+option+0
Open All Shift+alt+0 Command+shift+option+0
Go to Line Shift+alt+g Command+shift+option+g
Jump to Shift+alt+j Command+shift+option+j
Page change Ctrl+alt+down Ctrl+option+down
Previous page Win:ctrl+alt+left, Linux:ctrl+pageup Ctrl+option+left
Next page Win:ctrl+alt+right, Linux:ctrl+pagedown Ctrl+option+right
First page Ctrl+shift+alt+left Ctrl+shift+option+left
Last page Ctrl+shift+alt+right Ctrl+shift+option+right
Navigate back Ctrl+f9 Command+f9
Navigate Forward Ctrl+f10 Command+f10
Line Indent Ctrl+i Command+i
Extracting a function from the selection Ctrl+shift+u Command+shift+u
Comment/Uncomment when moving forward Ctrl+shift+c Command+shift+c
Re-annotate ctrl+shift+/ command+shift+/
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
Jump to Matching Brace/paren Ctrl+p Ctrl+p
Find and Replace Ctrl+f Command+f
Find 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+=
Find in Files Ctrl+shift+f Command+shift+f
Check Spelling F7 F7
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+-
Show Help for function at cursor F1 F1
Show source code for function at cursor F2 F2
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
Dismiss Completion Popup Esc Esc
Views
Description Windows & Linux Mac
Goto file/function CTRL +. CTRL +.
Move cursor to Source Editor Ctrl+1 Ctrl+1
Move cursor to Console Ctrl+2 Ctrl+2
Move Focus to help Ctrl+3 Ctrl+3
Show history Ctrl+4 Ctrl+4
Show Files Ctrl+5 Ctrl+5
Show plots Ctrl+6 Ctrl+6
Show Packages 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
Build and Reload 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 plot Ctrl+shift+pageup Command+shift+pageup
Next plot Ctrl+shift+pagedown Command+shift+pagedown
Show Manipulator Ctrl+shift+m Command+shift+m
Git/svn
Description Windows & Linux Mac
Diff Active Source Document Ctrl+shift+d Command+shift+d
Commit changes Ctrl+shift+m Command+shift+m
Scroll diff View Ctrl+up/down Ctrl+up/down
Stage/unstage (Git) Spacebar Spacebar
Stage/unstage and Move next (Git) Enter Enter

Rstudio shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.