R语言快捷键
一、控制台
功能 Windows & Linux Mac
- 移动鼠标到控制台 Ctrl+2 Ctrl+2
- 移动到鼠标命令编辑 Ctrl+1 Ctrl+1
- 控制台清屏 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语言快捷键的更多相关文章
- Rmarkdown用法与R语言动态报告
Rmarkdown用法与R语言动态报告数据分析用R语言非常便捷,因为R语言的社区强大,并且在不断更新和完善,提供了各种分析利器.Knitr和Rmarkdown包则是数据分析中的动态报告利器. 下面是一 ...
- 吐槽版︱MRO-Microsoft R Open快捷键+界面识别+功能设置
下载了之后,发现连运行(RUN键)在哪都不知道,蒙逼的在哪倒弄半天,都执行不了...问了别人,都说"ctrl+enter",但是我的电脑执行不了,于是今天就狠狠的一个一个按钮的点一 ...
- R语言学习笔记1——R语言中的基本对象
R语言,一种自由软件编程语言与操作环境,主要用于统计分析.绘图.数据挖掘.R本来是由来自新西兰奥克兰大学的Ross Ihaka和Robert Gentleman开发(也因此称为R),现在由“R开发核心 ...
- R语言最好的IDE——RStudio
转自http://www.dataguru.cn/article-1602-1.html 看到很多的R语言教材,介绍的编辑器或者IDE都是很简陋的那些,就没有见到有人提到RStudio.对于不使用Em ...
- R语言基础画图/绘图/作图
R语言基础画图/绘图/作图 R语言基础画图 R语言免费且开源,其强大和自由的画图功能,深受广大学生和可视化工作人员喜爱,这篇文章对如何使用R语言作基本的图形,如直方图,点图,饼状图以及箱线图进行简单介 ...
- R语言函数化编程笔记1
R语言函数化编程笔记1 notes:有一个不错的网站叫做stack overflow,有问题可以从上面找或者搜索答案,会有大佬相助. 在github上面可以找到很多R的扩展包,如果自己额修改被接受,那 ...
- Excel开始,Excel结束,R语言居中
入职.离职,总公司调往分公司,分公司调往总公司,每月社保.公积金和上月比较有增减.税局导出的为Excel文件,需要和记录对照一番. 用Excel处理,那就是姓名粘贴为两列,条件格式-重复值,没变色的为 ...
- 【计理05组01号】R 语言基础入门
R 语言基本数据结构 首先让我们先进入 R 环境下: sudo R 赋值 R 中可以用 = 或者 <- 来进行赋值 ,<- 的快捷键是 alt + - . > a <- c(2 ...
- R语言作为BI中ETL的工具
R语言作为BI中ETL的工具,增删改 R语言提供了强大的R_package与各种数据库进行数据交互. 外加其强大数据变换清洗函数,为ETL提供一条方便快捷的道路. RODBC ROracal RMys ...
随机推荐
- bit、位、byte、字节、B、KB、字符与网速
一.存储单位bit和Byte 1.bit(比特) bit就是位,也叫比特位,是数据存储的最小单位.简写为小写字母“b” 二进制的一位,每个0或1是一个bit 2.Byte(字节) Byte是字节,也有 ...
- [Flex][Adobe Flash Builder 4.6]谷歌浏览器(Chrome)下运行Flex程序的问题
今天刚开始学习Flex,发现用Chrome运行程序时会一片空白,上网查了相关资料后找到了解决方法: 打开Chrome,在地址栏输入:chrome://plugins/ 进入插件管理界面,查找Fla ...
- 搭建局域网maven仓库
第一步: 下载Nexus http://nexus.sonatype.org/downloads/下载最新版本 解压缩到任意目录,我的直接解压到了E盘---------->E:\nexus-2. ...
- SAS学习经验总结分享:篇四—SQL过程
SQL过程 SQL过程是实现对数据集或关系数据库的表进行操作的过程,对数据集或关系数据库的表进行查询.修改.创建表.删除数据.插入数据和更新数据等功能.提现了SAS对大型数据库管理系统通用的SQL语言 ...
- SQL系列函数--字符串函数
1.charindex函数用来寻找一个指定的字符(串)在另一个字符串中的起始位置,返回一个整数,没找到就返回0 select CHARINDEX('SQL','Microsoft SQL SERVER ...
- 让你十分钟学会shell
1.先介绍下shell的工作原理 Shell可以被称作是脚本语言,因为它本身是不需要编译的,而是通过解释器解释之后再编译执行,和传统语言相比多了解释的过程所以效率会略差于传统的直接编译的语言. 这是s ...
- nginx配置:支持phpfastcgi,nginx和php-cgi通信,部分nginx常量解释
支持phpfastcgi的配置如下: server { listen 8000; server_name localhost; root F:/home/projects/test; index in ...
- 27:简单错误记录SimpleErrorLog
题目描述 开发一个简单错误记录功能小模块,能够记录出错的代码所在的文件名称和行号. 处理: 1. 记录最多8条错误记录,循环记录,对相同的错误记录(净文件名称和行号完全匹配)只记录一条,错误计数增加: ...
- C语言 结构体篇
结构体:是一种构造类型 它是由若干成员组成的 其中每一个成员都可以是一个基本数据类型或者又是一个构造类型 定义结构体变量后,系统就会为其自动分配内存 为了便于更大的程序便于修改和使用 常常将结构体类 ...
- 非spring托管的类使用spring脱管的类。
import org.springframework.beans.BeansException; import org.springframework.context.ApplicationConte ...