R language Rstudio shortcut key summary

Source: Internet
Author: User
Tags clear screen

R language Rstudio shortcut key summaryOne, the control desk

features Windows & Linux Mac

    1. Move mouse to console ctrl+2ctrl+2
    2. Move to mouse command edit ctrl+1 ctrl+1
    3. Console Clear Screen Ctrl+lcommand+l
    4. Move the mouse to the first line Homecommand+left
    5. Move the mouse to the last line Endcommand+right
    6. History Roll Up/downup/down
    7. Pop-up History bar Ctrl+upcommand+up
    8. Terminate the current order Escesc
    9. Change the work path ctrl+shift+kctrl+shift+k
second, code area

  Features Windows & Linux Mac

  1. Move the mouse to the file search area Ctrl +. CTRL +.
  2. Move the mouse to the file editing area ctrl+1ctrl+1
  3. New documents (except Chrome) ctrl+shift+ncommand+shift+n
  4. Open Document Ctrl+ocommand+o
  5. Save current document Ctrl+scommand+s
  6. Close the current document (except Chrome) ctrl+wcommand+w
  7. Close the current document (Chrome) ctrl+shift+zcommand+shift+z
  8. Close all Documents Ctrl+shift+wcommand+shift+w
  9. Preview Htmlctrl+shift+ycommand+shift+y
  10. Convert to Htmlctrl+shift+hcommand+shift+h
  11. Compiling PDF (TeX and Sweave) ctrl+shift+icommand+shift+i
  12. Insert Block Ctrl+alt+icommand+option+i
  13. Inserting a code block CTRL+SHIFT+RCOMMAND+SHIFT+R
  14. Run the current line Ctrl+entercommand+enter
  15. Re-run the current zone ctrl+shift+pcommand+shift+p
  16. Run the current document Ctrl+alt+rcommand+option+r
  17. Run from start to current line ctrl+alt+bcommand+option+b
  18. Run from current line to end Ctrl+alt+ecommand+option+e
  19. Run the current function definition Ctrl+alt+fcommand+option+f
  20. Run Current block Ctrl+alt+ccommand+option+c
  21. Run the next block ctrl+alt+ncommand+option+n
  22. Execute a file Ctrl+shift+ocommand+shift+o
  23. Executes the current document Ctrl+shift+scommand+shift+s
  24. Executes the current document and displays Ctrl+shift+entercommand+shift+enter
  25. Collapse Options Alt+lcommand+option+l
  26. Open option Shift+alt+lcommand+shift+option+l
  27. Collapse All alt+0command+option+0
  28. Open All Shift+alt+0command+shift+option+0
  29. Go to Row Shift+alt+gcommand+shift+option+g
  30. Skip to Shift+alt+jcommand+shift+option+j
  31. Change Page Ctrl+alt+downctrl+option+down
  32. Previous page win:ctrl+alt+left, Linux:ctrl+pageupctrl+option+left
  33. Next page win:ctrl+alt+right, Linux:ctrl+pagedownctrl+option+right
  34. First page Ctrl+shift+alt+leftctrl+shift+option+left
  35. Last page Ctrl+shift+alt+rightctrl+shift+option+right
  36. Navigate Back Ctrl+f9command+f9
  37. Navigate Forward Ctrl+f10command+f10
  38. Line Indent Ctrl+icommand+i
  39. Extracting the function ctrl+shift+ucommand+shift+u from the selection
  40. Comment/Uncomment the current line Ctrl+shift+ccommand+shift+c
  41. Re-annotate ctrl+shift+/command+shift+/
  42. Transpose Lettersctrl+t
  43. Move Lines Up/downalt+up/downoption+up/down
  44. Copy Lines Up/downctrl+alt+up/downcommand+option+up/down
  45. Jump to Matching brace/parenctrl+pctrl+p
  46. Find and Replacectrl+fcommand+f
  47. Find Nextwin:f3, Linux:ctrl+gcommand+g
  48. Find Previouswin:shift+f3, Linux:ctrl+shift+gcommand+shift+g
  49. Replace and findctrl+=command+=
  50. Find in Filesctrl+shift+fcommand+shift+f
  51. Check Spellingf7f7
iii.Editing (Console and Source)

Description Windows & Linux Mac

  1. Undoctrl+zcommand+z
  2. Redoctrl+shift+zcommand+shift+z
  3. Cutctrl+xcommand+x
  4. Copyctrl+ccommand+c
  5. Pastectrl+vcommand+v
  6. Select Allctrl+acommand+a
  7. Jump to Wordctrl+left/rightoption+left/right
  8. Jump to Start/endctrl+home/end or Ctrl+up/downcommand+home/end or Command+up/down
  9. Delete Linectrl+dcommand+d
  10. Selectshift+[arrow]shift+[arrow]
  11. Select Wordctrl+shift+left/rightoption+shift+left/right
  12. Select to line startshift+homecommand+shift+left or Shift+home
  13. Select to line endshift+endcommand+shift+right or shift+end
  14. Select Page Up/downshift+pageup/pagedownshift+pageup/down
  15. Select to Start/endctrl+shift+home/end or Shift+alt+up/downcommand+shift+up/down
  16. Delete Word Leftctrl+backspaceoption+backspace or Ctrl+option+backspace
  17. Delete Word Rightoption+delete
  18. Delete To Line Endctrl+k
  19. Delete To Line Startoption+backspace
  20. Indenttab (at beginning of line) Tab (at beginning of line)
  21. Outdentshift+tabshift+tab
  22. Yank line up to Cursorctrl+uctrl+u
  23. Yank Line after Cursorctrl+kctrl+k
  24. Insert currently yanked Textctrl+yctrl+y
  25. Insert Assignment operatoralt+-option+-
  26. Show Help for function at CURSORF1F1
  27. Show source code for function at CURSORF2F2
  28. Completions (Console and Source)
  29. Descriptionwindows & Linuxmac
  30. Attempt Completiontab or Ctrl+spacetab or command+space
  31. Navigate Candidatesup/downup/down
  32. Accept selected Candidateenter, tab, or RightEnter, tab, or right
  33. Dismiss Completion Popupescesc
Iv. views

  Description Windows & Linux Mac

    1. Goto file/functionctrl+. CTRL +.
    2. Move cursor to Source editorctrl+1ctrl+1
    3. Move cursor to Consolectrl+2ctrl+2
    4. Move Focus to Helpctrl+3ctrl+3
    5. Show historyctrl+4ctrl+4
    6. Show filesctrl+5ctrl+5
    7. Show plotsctrl+6ctrl+6
    8. Show packagesctrl+7ctrl+7
    9. Show workspacectrl+8ctrl+8
    10. Show git/svnctrl+9ctrl+9
    11. Show buildctrl+0ctrl+0
    12. Sync Editor and PDF Previewctrl+f8command+f8
Five, Build

  Description Windows & Linux Mac

    1. Build and Reloadctrl+shift+bcommand+shift+b
    2. Load All (Devtools) ctrl+shift+lcommand+shift+l
    3. Check packagectrl+shift+ecommand+shift+e
Liu, plots

  Description Windows & Linux Mac

    1. Previous Plotctrl+shift+pageupcommand+shift+pageup
    2. Next Plotctrl+shift+pagedowncommand+shift+pagedown
    3. Show manipulatorctrl+shift+mcommand+shift+m
Seven, Git/svn

  Description Windows & Linux Mac

    1. Diff Active Source Documentctrl+shift+dcommand+shift+d
    2. Commit changesctrl+shift+mcommand+shift+m
    3. Scroll diff Viewctrl+up/downctrl+up/down
    4. Stage/unstage (Git) Spacebarspacebar
    5. Stage/unstage and Move next (Git) enterenter

R language Rstudio shortcut key summary

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.