RStudio Keyboard Shortcuts
Console |
||
| Description | Windows & Linux | Mac |
|---|---|---|
| Move cursor to Console | Ctrl+2 | Ctrl+2 |
| Clear console | Ctrl+L | Command+L |
| Move cursor to beginning of line | Home | Command+Left |
| Move cursor to end of line | End | Command+Right |
| Navigate command history | Up/Down | Up/Down |
| Popup command history | Ctrl+Up | Command+Up |
| Interrupt currently executing command | Esc | Esc |
| Change working directory | Ctrl+Shift+K | Ctrl+Shift+K |
Source |
||
| Description | Windows & Linux | Mac |
| Go to File/Function | Ctrl+. | Ctrl+. |
| Move cursor to Source Editor | Ctrl+1 | Ctrl+1 |
| New document (except on Chrome/Windows) | Ctrl+Shift+N | Command+Shift+N |
| Open document | Ctrl+O | Command+O |
| Save active document | Ctrl+S | Command+S |
| Close active document (except on Chrome) | Ctrl+W | Command+W |
| Close active document (Chrome only) | Ctrl+Alt+W | Command+Option+W |
| Close all open documents | Ctrl+Shift+W | Command+Shift+W |
| Preview HTML | Ctrl+Shift+Y | Command+Shift+Y |
| Knit to HTML | Ctrl+Shift+H | Command+Shift+H |
| Compile PDF (TeX and Sweave) | Ctrl+Shift+I | Command+Shift+I |
| Insert chunk | Ctrl+Alt+I | Command+Option+I |
| Insert code section | Ctrl+Shift+R | Command+Shift+R |
| Run current line/selection | Ctrl+Enter | Command+Enter |
| Re-run previous region | Ctrl+Shift+P | Command+Shift+P |
| Run current document | Ctrl+Alt+R | Command+Option+R |
| Run from document beginning to current line | Ctrl+Alt+B | Command+Option+B |
| Run from current line to document end | Ctrl+Alt+E | Command+Option+E |
| Run the current function definition | Ctrl+Alt+F | Command+Option+F |
| Run the current chunk | Ctrl+Alt+C | Command+Option+C |
| Run the next chunk | Ctrl+Alt+N | Command+Option+N |
| Source a file | Ctrl+Shift+O | Command+Shift+O |
| Source the current document | Ctrl+Shift+S | Command+Shift+S |
| Source the current document (with echo) | Ctrl+Shift+Enter | Command+Shift+Enter |
| Fold selected | Alt+L | Command+Option+L |
| Unfold selected | Shift+Alt+L | Command+Shift+Option+L |
| Fold all | Alt+0 | Command+Option+0 |
| Unfold 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 |
| Switch to tab | Ctrl+Alt+Down | Ctrl+Option+Down |
| Previous tab | Win: Ctrl+Alt+Left, Linux: Ctrl+PageUp | Ctrl+Option+Left |
| Next tab | Win: Ctrl+Alt+Right, Linux: Ctrl+PageDown | Ctrl+Option+Right |
| First tab | Ctrl+Shift+Alt+Left | Ctrl+Shift+Option+Left |
| Last tab | Ctrl+Shift+Alt+Right | Ctrl+Shift+Option+Right |
| Navigate back | Ctrl+F9 | Command+F9 |
| Navigate forward | Ctrl+F10 | Command+F10 |
| Reindent lines | Ctrl+I | Command+I |
| Extract function from selection | Ctrl+Shift+U | Command+Shift+U |
| Comment/uncomment current line/selection | Ctrl+Shift+C | Command+Shift+C |
| Reflow comment | 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 Keyboard Shortcuts的更多相关文章
- Mousetrap - Keyboard shortcuts in Javascript
Mousetrap is a simple library for handling keyboard shortcuts in Javascript. It is around 2kb minifi ...
- OS X: Keyboard shortcuts
Using keyboard shortcuts To use a keyboard shortcut, press a modifier key at the same time as a char ...
- [No0000113]Keyboard shortcuts for Windows Visual Studio Code
General 常用Ctrl+Shift+P, F1 Show Command Palette 显示命令行Ctrl+P Quick Open, Go to File… 快速打开Ctrl+Shift+N ...
- keyboard shortcuts & Xcode 10
keyboard shortcuts & Xcode 10 Xcode Keyboard Shortcuts https://swifteducation.github.io/assets/p ...
- MBP 2018 & Mac keyboard shortcuts
MBP 2018 & Mac keyboard shortcuts https://support.apple.com/en-us/HT201236 delete key === Contro ...
- [转]UiPath Keyboard Shortcuts
本文转自:https://docs.uipath.com/studio/docs/keyboard-shortcuts The complete list of keyboard shortcuts ...
- Google Chrome Keyboard Shortcuts
Navigation To do this Press this Open a new window Ctrl + N Open a new tab Ctrl + T Open a new windo ...
- [转]33 useful Keyboard Shortcuts for Run commond
原文: http://www.shortcutworld.com/en/win/Run-command.html 1. Calling Run CommandWin + r ...
- SQL Server Management Studio Keyboard shortcuts
一些平时在SQL Server Management Studio 使用到的快捷键 F5 (Ctrl+x)执行选中部分的语句,没有选中则全文执行 Ctrl+L 现实执行计划(估计) Ctrl+M 在运 ...
随机推荐
- Haxe数据类型
以下是Haxe里面的一些数据类型 基本类型 空特性 类 枚举 匿名结构 方法 动态 抽象 1. 基本类型Bool, Float, Int 2. 空特性由于Haxe可以被编译为各种不同的target,不 ...
- Android 学习(一)
这几天被一些功能折磨的要死了,于是放下了这个,看点其它的东西,算是转移一下焦点.床头放了不少书籍,也都被翻阅过,翻阅过,却不曾细细的品味过,俗话说,书可借而不可买也,这话用到自己的身上丝毫不错.因为是 ...
- TCP digest
TCP在网络OSI的七层模型中的第四层——Transport层,IP在第三层——Network层,ARP在第二层——Data Link层,在第二层上的数据,我们叫Frame,在第三层上的数据叫Pack ...
- BNU OJ 33691 / LA 4817 Calculator JAVA大数
留着当个模板用,在BNU上AC,在LA上RE……可能是java的提交方式不同??? 数和运算符各开一个栈. 表达式从左到右扫一遍,将数存成大数,遇到数压在 数的栈,运算符压在 运算符的栈,每当遇到右括 ...
- 写Java程序要体现面向对象
对于之前写的一篇文章现在想想存在不足之处,之前写的测试ArrayList和LinkedList的各项操作性能比较的程序没有体现面向对象的封装特性,所以,今天把代码重新写了一遍,其实改动的地 ...
- POJ 3185 The Water Bowls (高斯消元 求最小步数)
题目链接 题意:有20个数字,0或1.如果改变一个数的状态,它左右两边的两个数的状态也会变反.问从目标状态到全0,至少需要多少次操作. 分析: 和上一题差不多,但是比上一题还简单,不多说了,但是在做题 ...
- poj 2948 Martian Mining (dp)
题目链接 完全自己想的,做了3个小时,刚开始一点思路没有,硬想了这么长时间,想了一个思路, 又修改了一下,提交本来没抱多大希望 居然1A了,感觉好激动..很高兴dp又有所长进. 题意: 一个row*c ...
- bzoj1564
嗯,这是一道简单题 注意二叉搜索树的子树中序一定是连续的 又因为取值修改是任意的并且修改代价与权值无关 不难想到把权值离散化,然后按找数据值排序,然后dp f[i][j][w]表示从i~j的节点构成一 ...
- textContent、innerText的用法,在文档中插入纯文本
有时候需要查询纯文本形式的元素内容,或者在文档中插入纯文本.标准的方法是用Node的textContent属性来实现: var para = document.getElementsByTagName ...
- 在linux的shell里访问一个URL
在linux上访问一个网址有四种方法 1.elinks,用法举例: [weishusheng@centOS6 ~]$ elinks -dump http://www.baidu.com 2. wget ...