使用R语言-RStudio快捷键
控制台 |
||
| 功能 | Windows & Linux | Mac |
|---|---|---|
| 移动鼠标到控制台 | Ctrl+2 | Ctrl+2 |
| 控制台清屏 | Ctrl+L | Command+L |
| 移动鼠标至第一行 | Home | Command+Left |
| 移动鼠标至最后一行 | End | Command+Right |
| 历史记录翻滚 | Up/Down | Up/Down |
| 弹出历史记录栏 | Ctrl+Up | Command+Up |
| 终止目前命令 | Esc | Esc |
| 改变工作路径 | Ctrl+Shift+K | Ctrl+Shift+K |
代码区 |
||
| 功能 | Windows & Linux | Mac |
| 移动鼠标到文件搜索区 | Ctrl+. | Ctrl+. |
| 移动鼠标至文件编辑区 | Ctrl+1 | Ctrl+1 |
| 新文档(chrome除外) | Ctrl+Shift+N | Command+Shift+N |
| 打开文档 | Ctrl+O | Command+O |
| 保存当前文档 | Ctrl+S | Command+S |
| 关闭当前文档(chrome除外) | Ctrl+W | Command+W |
| 关闭当前文档(chrome) | Ctrl+Shift+Z | Command+Shift+Z |
| 关闭所有文档 | Ctrl+Shift+W | Command+Shift+W |
| 预览HTML | Ctrl+Shift+Y | Command+Shift+Y |
| 转换为HTML | Ctrl+Shift+H | Command+Shift+H |
| 编译PDF (TeX and Sweave) | Ctrl+Shift+I | Command+Shift+I |
| 插入块 | Ctrl+Alt+I | Command+Option+I |
| 插入代码块 | Ctrl+Shift+R | Command+Shift+R |
| 运行当前行 | Ctrl+Enter | Command+Enter |
| 重新运行当前区 | Ctrl+Shift+P | Command+Shift+P |
| 运行当前文档 | Ctrl+Alt+R | Command+Option+R |
| 从开始运行至当前行 | Ctrl+Alt+B | Command+Option+B |
| 从当前行运行至结尾 | Ctrl+Alt+E | Command+Option+E |
| 运行当前函数定义 | Ctrl+Alt+F | Command+Option+F |
| 运行当前块 | Ctrl+Alt+C | Command+Option+C |
| 运行下一个块 | Ctrl+Alt+N | Command+Option+N |
| 执行一个文件 | Ctrl+Shift+O | Command+Shift+O |
| 执行当前文档 | Ctrl+Shift+S | Command+Shift+S |
| 执行当前文档并且显示 | Ctrl+Shift+Enter | Command+Shift+Enter |
| 折叠选项 | Alt+L | Command+Option+L |
| 打开选项 | Shift+Alt+L | Command+Shift+Option+L |
| 折叠所有 | Alt+0 | Command+Option+0 |
| 打开所有 | Shift+Alt+0 | Command+Shift+Option+0 |
| 前往行 | Shift+Alt+G | Command+Shift+Option+G |
| 跳至 | Shift+Alt+J | Command+Shift+Option+J |
| 换页 | Ctrl+Alt+Down | Ctrl+Option+Down |
| 前一页 | Win: Ctrl+Alt+Left, Linux: Ctrl+PageUp | Ctrl+Option+Left |
| 后一页 | Win: Ctrl+Alt+Right, Linux: Ctrl+PageDown | Ctrl+Option+Right |
| 第一页 | Ctrl+Shift+Alt+Left | Ctrl+Shift+Option+Left |
| 最后一页 | Ctrl+Shift+Alt+Right | Ctrl+Shift+Option+Right |
| 往回导航 | Ctrl+F9 | Command+F9 |
| 向前导航 | Ctrl+F10 | Command+F10 |
| 行缩进 | Ctrl+I | Command+I |
| 从选择中抽取函数 | Ctrl+Shift+U | Command+Shift+U |
| 注释/取消注释当前行 | Ctrl+Shift+C | Command+Shift+C |
| 重新注释 | 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 |
使用R语言-RStudio快捷键的更多相关文章
- 【转】R语言 RStudio快捷键
链接地址 http://blog.sina.com.cn/s/blog_403aa80a0101ar8q.html 控制台 功能 Windows & Linux Mac 移动鼠标到控制台 C ...
- R语言-RStudio快捷键总结
一.控制台 功能 Windows & Linux Mac 移动鼠标到控制台 Ctrl+2 Ctrl+2 移动到鼠标命令编辑 Ctrl+1 Ctrl+1 控制台清屏 Ctrl+L Comm ...
- 给R语言RStudio添加阿里云镜像源
镜像下载.域名解析.时间同步请点击阿里云开源镜像站 方法一: 打开RStudio,输入options()$repos查看默认镜像源情况 options()$repos 打开tools工具栏,找到Glo ...
- R语言最好的IDE——RStudio
转自http://www.dataguru.cn/article-1602-1.html 看到很多的R语言教材,介绍的编辑器或者IDE都是很简陋的那些,就没有见到有人提到RStudio.对于不使用Em ...
- RStudio:R语言编辑器
RStudio:R语言编辑器 四窗口 左上:写代码,运行的方式是ctrl+Enter,或者用Run按钮 10 + 15 ## [1] 25 左下:终端,上面窗口的代码运行后会在这里显示,也可以直接在这 ...
- R语言入门1:安装R和RStudio
R语言入门1:安装R和RStudio 曹务强 中科院遗传学博士研究生 9 人赞同了该文章 1. Windows安装R 在Windows系统上,安装R语言比较简单,直接从R的官方网站下载,按照正常的软件 ...
- R语言入门:使用RStudio的基本操作
R语言在人工智能,统计学,机器学习,量化投资,以及生物信息学方面有着十分广泛的运用.也是我大学的必修课,因此这里梳理一些有关R语言的知识点,做做记录. 首先我们需要知道R语言的工作区域,R语言默认的工 ...
- R语言学习笔记1——R语言中的基本对象
R语言,一种自由软件编程语言与操作环境,主要用于统计分析.绘图.数据挖掘.R本来是由来自新西兰奥克兰大学的Ross Ihaka和Robert Gentleman开发(也因此称为R),现在由“R开发核心 ...
- R语言函数化编程笔记1
R语言函数化编程笔记1 notes:有一个不错的网站叫做stack overflow,有问题可以从上面找或者搜索答案,会有大佬相助. 在github上面可以找到很多R的扩展包,如果自己额修改被接受,那 ...
随机推荐
- 【Go入门教程4】struct类型(struct的匿名字段)
struct Go语言中,也和C或者其他语言一样,我们可以声明新的类型,作为其它类型的属性或字段的容器.例如,我们可以创建一个自定义类型person代表一个人的实体.这个实体拥有属性:姓名和年龄.这样 ...
- Asp.Net Core--基于声明的授权
翻译如下: 当创建身份时,其可以被分配由可信方发布的一个或多个声明. 索赔是名称值对,表示主题是什么,而不是主体可以做什么. 例如,您可能有驾驶执照,由当地驾驶执照颁发. 您的驾驶执照上有您的出生日期 ...
- Qml 写的弹出层控件
QML弹出窗口组件,灯箱效果.动画效果,可拖拽 核心思路:一个mask层,一个最顶层,都用rectangle,禁止事件穿透 使用 Popup { id: popup width: 200; heigh ...
- C#高级编程笔记 Day 4, 2016年9月 12日(接口)
1.定义和实现接口:接口名称通常上以字母 I 开头 例子:定义IBankAccount接口 namespace Test.YinXi{ public interface IBankAccount{ v ...
- python用二进制读取文件
python二进制读取文件 很多时候,都需要用到二进制读取文件.毕竟很多信息不是以文本的形式存储.例如:图片,音乐等等.这些东西都是有规则的二进制文件. 在python中,二进制读取采用rb的方式. ...
- fdatool 设计IIR滤波器
[B,A] = sos2tf(SOS);K = cumprod(G);k=K(end); [y_out] = filter(B, A, win_up_data, []) .*k;
- ListView加checkBox可以实现全选等功能
1.效果图 2.LIteView_item布局 <?xml version="1.0" encoding="utf-8"?> <Relativ ...
- PHP - xhprof+Graphviz 安装配置
简介:XHProf是Facebook放出的轻量级调试工具.和Xdebug相比,XHProf更加易用和可控,尤其是生成流程图和调试数据对比的功能很好很强大. 参考:http://us2.php.net/ ...
- HTML 简单的介绍
Q: 什么是HTML? A: HTML 是一种超文本标记语言. 所谓的超文本是指指页面内可以包含图片,链接,甚至音乐.程序等非文字元素.超文本标记语言的结构包括"头"部分(英语:H ...
- MySQL源码分析:源码文件结构及主要数据结构
原文地址:http://blog.itpub.net/30186219/viewspace-1481125/BUILD: 内含在各个平台.各种编译器下进行编译的脚本.如compile-pentium- ...