R language Shortcut keys

Source: Internet
Author: User
Tags clear screen diff

One, the control desk

Features Windows & Linux Mac

    1. Move mouse to console ctrl+2 ctrl+2
    2. Move to mouse command edit ctrl+1 ctrl+1
    3. Console Clear Screen Ctrl+l command+l
    4. Move the mouse to the first line Home Command+left
    5. Move the mouse to the last line end Command+right
    6. Historical record Tumbling Up/down Up/down
    7. Pop-up History bar Ctrl+up Command+up
    8. Terminate current command ESC ESC
    9. Change the working path Ctrl+shift+k ctrl+shift+k
Second, code area

Features Windows & Linux Mac

  1. Move the mouse to the file search area Ctrl +. CTRL +.
  2. Move mouse to file editing area ctrl+1 ctrl+1
  3. New documents (except Chrome) Ctrl+shift+n Command+shift+n
  4. Open Document Ctrl+o Command+o
  5. Save current document Ctrl+s Command+s
  6. Close the current document (except Chrome) Ctrl+w Command+w
  7. Close the current document (Chrome) Ctrl+shift+z command+shift+z
  8. Close all documents Ctrl+shift+w command+shift+w
  9. Preview HTML Ctrl+shift+y command+shift+y
  10. Convert to HTML ctrl+shift+h command+shift+h
  11. Compiling PDF (TeX and Sweave) ctrl+shift+i Command+shift+i
  12. Insert Block Ctrl+alt+i command+option+i
  13. Inserting code blocks ctrl+shift+r command+shift+r
  14. Run the current line Ctrl+enter Command+enter
  15. Re-run the current zone ctrl+shift+p command+shift+p
  16. Run the current document Ctrl+alt+r Command+option+r
  17. Run from start to current line ctrl+alt+b Command+option+b
  18. Run from current line to end Ctrl+alt+e Command+option+e
  19. Runs the current function definition ctrl+alt+f command+option+f
  20. Run Current block Ctrl+alt+c Command+option+c
  21. Run the next block Ctrl+alt+n command+option+n
  22. Executes a file Ctrl+shift+o Command+shift+o
  23. Executes the current document Ctrl+shift+s Command+shift+s
  24. Executes the current document and displays Ctrl+shift+enter Command+shift+enter
  25. Folding Options Alt+l Command+option+l
  26. Open Options Shift+alt+l command+shift+option+l
  27. Collapse All alt+0 command+option+0
  28. Open All shift+alt+0 command+shift+option+0
  29. Go to row shift+alt+g command+shift+option+g
  30. Jump to Shift+alt+j Command+shift+option+j
  31. Change page Ctrl+alt+down Ctrl+option+down
  32. Previous page win:ctrl+alt+left, Linux:ctrl+pageup ctrl+option+left
  33. Next Win:ctrl+alt+right, Linux:ctrl+pagedown ctrl+option+right
  34. First page Ctrl+shift+alt+left Ctrl+shift+option+left
  35. Last page Ctrl+shift+alt+right Ctrl+shift+option+right
  36. Navigate Back Ctrl+f9 Command+f9
  37. Navigate Forward Ctrl+f10 COMMAND+F10
  38. Line Indent Ctrl+i command+i
  39. Extracting a function from the selection ctrl+shift+u Command+shift+u
  40. Comment/Uncomment current line Ctrl+shift+c Command+shift+c
  41. Re-annotate ctrl+shift+/command+shift+/
  42. Transpose Letters Ctrl+t
  43. Move Lines Up/down Alt+up/down Option+up/down
  44. Copy Lines Up/down Ctrl+alt+up/down Command+option+up/down
  45. Jump to Matching Brace/paren ctrl+p ctrl+p
  46. Find and Replace ctrl+f command+f
  47. Find Next win:f3, Linux:ctrl+g command+g
  48. Find Previous win:shift+f3, Linux:ctrl+shift+g command+shift+g
  49. Replace and Find ctrl+= command+=
  50. Find in Files ctrl+shift+f command+shift+f
  51. Check Spelling F7 F7
Iii. Editing (Console and Source)

Description Windows & Linux Mac

  1. Undo Ctrl + Z command+z
  2. Redo ctrl+shift+z Command+shift+z
  3. Cut ctrl+x command+x
  4. Copy Ctrl + C COMMAND+C
  5. Paste Ctrl + V Command+v
  6. Select All Ctrl + A Command+a
  7. Jump to Word ctrl+left/right option+left/right
  8. Jump to Start/end ctrl+home/end or Ctrl+up/down command+home/end or Command+up/down
  9. Delete Line Ctrl+d Command+d
  10. Select Shift+[arrow] Shift+[arrow]
  11. Select Word ctrl+shift+left/right Option+shift+left/right
  12. Select to line Start shift+home Command+shift+left or Shift+home
  13. Select to line End shift+end command+shift+right or Shift+end
  14. Select Page Up/down Shift+pageup/pagedown Shift+pageup/down
  15. Select to Start/end ctrl+shift+home/end or Shift+alt+up/down Command+shift+up/down
  16. Delete Word left Ctrl+backspace option+backspace or Ctrl+option+backspace
  17. Delete Word Right Option+delete
  18. Delete To Line End ctrl+k
  19. Delete To Line Start Option+backspace
  20. Indent tab (at beginning of line) tab (at beginning of line)
  21. Outdent Shift+tab Shift+tab
  22. Yank line up to Cursor Ctrl+u ctrl+u
  23. Yank line after cursor ctrl+k ctrl+k
  24. Insert currently yanked text Ctrl+y Ctrl+y
  25. Insert assignment operator alt+-option+-
  26. Show Help for function at cursor F1 F1
  27. Show source code for function at cursor F2 F2
  28. Completions (Console and Source)
  29. Description Windows & Linux Mac
  30. Attempt completion tab or Ctrl+space tab or Command+space
  31. Navigate candidates Up/down Up/down
  32. Accept selected candidate Enter, tab, or right-enter, tab, or right
  33. Dismiss Completion Popup ESC ESC
Iv. views

Description Windows & Linux Mac

    1. Goto File/function Ctrl +. CTRL +.
    2. Move cursor to Source Editor ctrl+1 ctrl+1
    3. Move cursor to Console ctrl+2 ctrl+2
    4. Move focus to help ctrl+3 ctrl+3
    5. Show History ctrl+4 Ctrl+4
    6. Show Files ctrl+5 ctrl+5
    7. Show plots ctrl+6 ctrl+6
    8. Show Packages ctrl+7 ctrl+7
    9. Show Workspace ctrl+8 ctrl+8
    10. Show GIT/SVN ctrl+9 ctrl+9
    11. Show Build ctrl+0 ctrl+0
    12. Sync Editor and PDF Preview ctrl+f8 Command+f8
Five, Build

Description Windows & Linux Mac

    1. Build and Reload ctrl+shift+b command+shift+b
    2. Load All (devtools) ctrl+shift+l command+shift+l
    3. Check Package Ctrl+shift+e Command+shift+e
Liu, plots

Description Windows & Linux Mac

    1. Previous plot Ctrl+shift+pageup Command+shift+pageup
    2. Next plot Ctrl+shift+pagedown Command+shift+pagedown
    3. Show Manipulator Ctrl+shift+m Command+shift+m
Seven, GIT/SVN

Description Windows & Linux Mac

    1. Diff Active source Document Ctrl+shift+d Command+shift+d
    2. Commit Changes Ctrl+shift+m command+shift+m
    3. Scroll diff View Ctrl+up/down Ctrl+up/down
    4. Stage/unstage (Git) Spacebar Spacebar
    5. Stage/unstage and Move next (Git) Enter enter

R language 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.