R语言客户端RStudio快捷键大全
Console |
||
Description |
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 |
|
|
|
Source |
||
Description |
Windows & Linux |
Mac |
跳转到文件/函数 |
Ctrl+. |
Ctrl+. |
光标定位到源码编辑器 |
Ctrl+1 |
Ctrl+1 |
新建一个文件(在Chrome/Windows上例外) |
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 |
Knit to 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 |
切换tab |
Ctrl+Alt+Down |
Ctrl+Option+Down |
切换到前一个tab |
Win: Ctrl+Alt+Left, Linux: Ctrl+PageUp |
Ctrl+Option+Left |
切换到下一个tab |
Win: Ctrl+Alt+Right, Linux: Ctrl+PageDown |
Ctrl+Option+Right |
切换到第一个tab |
Ctrl+Shift+Alt+Left |
Ctrl+Shift+Option+Left |
切换到最后一个tab |
Ctrl+Shift+Alt+Right |
Ctrl+Shift+Option+Right |
向前切换(类似浏览器→) |
Ctrl+F9 |
Command+F9 |
向后导航(类似浏览器←) |
Ctrl+F10 |
Command+F10 |
Reindent lines |
Ctrl+I |
Command+I |
从选中的代码中提取函数 |
Ctrl+Shift+U |
Command+Shift+U |
注释/取消注释 当前行/选中区域 |
Ctrl+Shift+C |
Command+Shift+C |
Reflow comment |
Ctrl+Shift+/ |
Command+Shift+/ |
Transpose Letters |
|
Ctrl+T |
向上/向下移动一行 |
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 |
查找并替换 |
Ctrl+F |
Command+F |
查找下一个 |
Win: F3, Linux: Ctrl+G |
Command+G |
查找上一个 |
Win: Shift+F3, Linux: Ctrl+Shift+G |
Command+Shift+G |
替换并查找 |
Ctrl+= |
Command+= |
在文件中茶轴啊 |
Ctrl+Shift+F |
Command+Shift+F |
拼写检查 |
F7 |
F7 |
|
|
|
Editing (Console and Source) |
||
Description |
Windows & Linux |
Mac |
撤销 |
Ctrl+Z |
Command+Z |
重复上次操作 |
Ctrl+Shift+Z |
Command+Shift+Z |
剪切 |
Ctrl+X |
Command+X |
复制 |
Ctrl+C |
Command+C |
粘贴 |
Ctrl+V |
Command+V |
全选 |
Ctrl+A |
Command+A |
跳转到单词 |
Ctrl+Left/Right |
Option+Left/Right |
跳转到开头/结尾 |
Ctrl+Home/End or Ctrl+Up/Down |
Command+Home/End or Command+Up/Down |
删除行 |
Ctrl+D |
Command+D |
选择 |
Shift+[Arrow] |
Shift+[Arrow] |
选择一个词 |
Ctrl+Shift+Left/Right |
Option+Shift+Left/Right |
选中光标处到行首的内容 |
Shift+Home |
Command+Shift+Left or Shift+Home |
选中光标处到行末的内容 |
Shift+End |
Command+Shift+Right or Shift+End |
Select Page Up/Down |
Shift+PageUp/PageDown |
Shift+PageUp/Down |
选中到文件开始/末尾的内容 |
Ctrl+Shift+Home/End or Shift+Alt+Up/Down |
Command+Shift+Up/Down |
删除左边的单词 |
Ctrl+Backspace |
Option+Backspace or Ctrl+Option+Backspace |
删除右边的单词 |
|
Option+Delete |
删除光标到行末的内容 |
|
Ctrl+K |
删除光标到行首的内容 |
|
Option+Backspace |
缩进 |
Tab (at beginning of line) |
Tab (at beginning of line) |
取消缩进 |
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+- |
查看光标处的函数帮助 |
F1 |
F1 |
查看光标处的函数代码 |
F2 |
F2 |
|
|
|
Completions (Console and Source) |
||
Description |
Windows & Linux |
Mac |
自动完成 |
Tab or Ctrl+Space |
Tab or Command+Space |
在历史命令中导航 |
Up/Down |
Up/Down |
选定命令 |
Enter, Tab, or Right |
Enter, Tab, or Right |
离开弹出的自动完成提示框 |
Esc |
Esc |
|
|
|
Views |
||
Description |
Windows & Linux |
Mac |
跳转到文件/函数 |
Ctrl+. |
Ctrl+. |
将光标定位到代码编辑器 |
Ctrl+1 |
Ctrl+1 |
将光标定位到控制台 |
Ctrl+2 |
Ctrl+2 |
将焦点定位到帮助 |
Ctrl+3 |
Ctrl+3 |
显示历史 |
Ctrl+4 |
Ctrl+4 |
显示文件 |
Ctrl+5 |
Ctrl+5 |
显示图像 |
Ctrl+6 |
Ctrl+6 |
显示包 |
Ctrl+7 |
Ctrl+7 |
显示工作空间 |
Ctrl+8 |
Ctrl+8 |
显示Git/SVN |
Ctrl+9 |
Ctrl+9 |
显示Build |
Ctrl+0 |
Ctrl+0 |
同步编辑器和PDF预览 |
Ctrl+F8 |
Command+F8 |
|
|
|
Build |
||
Description |
Windows & Linux |
Mac |
编译和重载 |
Ctrl+Shift+B |
Command+Shift+B |
加载所有(devtools) |
Ctrl+Shift+L |
Command+Shift+L |
检查包 |
Ctrl+Shift+E |
Command+Shift+E |
|
|
|
Plots |
||
Description |
Windows & Linux |
Mac |
上一个图像 |
Ctrl+Shift+PageUp |
Command+Shift+PageUp |
下一个图像 |
Ctrl+Shift+PageDown |
Command+Shift+PageDown |
显示操作者 |
Ctrl+Shift+M |
Command+Shift+M |
|
|
|
Git/SVN |
||
Description |
Windows & Linux |
Mac |
对比当前源码文件 |
Ctrl+Shift+D |
Command+Shift+D |
提交修改 |
Ctrl+Shift+M |
Command+Shift+M |
滚动查看不同 |
Ctrl+Up/Down |
Ctrl+Up/Down |
Stage/Unstage (Git) |
Spacebar |
Spacebar |
Stage/Unstage and move next (Git) |
Enter |
Enter |
转载于:https://www.cnblogs.com/flymeng/p/8022249.html
R语言客户端RStudio快捷键大全相关推荐
- 安装R语言(Rstudio、R、RTools)
安装R语言(Rstudio.R.RTools) 本文介绍一下从零搭建R环境. 那么R语言,RTools和Rstudio有什么区别? R是基本的编程语言,单纯使用R是可以的,如图: image-2022 ...
- Rserve的R语言客户端RSclient
RSclient是实现Rserve通信的R语言客户端程序,对于统计人员使用RSclient调用Rserve运行R语言脚本,感觉会很奇怪.但对于实际应用架构来说却是很有帮助的,不仅可以统一Rserve的 ...
- 云服务器上安装 R语言 以及 RStudio Server 详细图文操作(全)
目录 前言 1. 更换镜像源 2. 安装R 2.1 R包版本(最新) 3. 安装RStudio Server 4. 后续细节 4.1 关闭防火墙 4.2 入口规则(端口) 4.3 增加用户 5. 验证 ...
- 如何安装R语言以及Rstudio的安装
如何安装R语言 首先需要先搭载R语言的环境,然后在去安装R语言的编译软件. 如果先搭载编译软件,在运行上目前没有太大问题,但是对于正常逻辑来说,还是不要为好 下面是R语言安装包的百度网盘地址,需要请下 ...
- 使用R语言 在rstudio中出现 列的数目比列的名字要多 的问题
在学习宏伦大大全栈python的视频中,用R语言导入一个txt文件时报错,Error in read.table(file = file, header = header, sep = sep, qu ...
- R语言学习 - Rstudio
微信公众号 生信宝典 https://mp.weixin.qq.com/mp/homepage?__biz=MzI5MTcwNjA4NQ==&hid=6&sn=667813e1f021 ...
- R语言与RStudio的下载与安装方法
本文介绍R语言及其集成开发环境RStudio的下载.安装方法. R语言是一个属于GNU操作系统的开源软件,在数据统计与分析.可视化等方面具有优秀的表现:而RStudio则是R语言的集成开发环境 ...
- R语言之Rstudio 导入包
查找 以readxl为例子 Rstudio代码操作 install.packets("readxl") # " "引号内输入包名 library() #查阅当前 ...
- R语言常用函数总结大全
今天把R常用函数大体汇总了一下,其中包括一般数学函数,统计函数,概率函数,字符处理函数,以及一些其他函数: 1. 数学函数 函数 作用 abs() 绝对值 sqrt() 平方根 ceilin ...
最新文章
- Python3学习笔记-使用list和tuple
- 编译问题收集、汇总与积累
- 如何自学Android--转
- Java SE 8新特性导览:使用Lambda Expression进行函数式编程
- 探索性数据分析(EDA)-不要问如何,不要问什么
- 地图图元的闪烁效果制作
- VIVADO除法IP注意事项
- 2021年中国粮食行业发展现状分析,粮食播种面积、产量再度迎来上涨「图」
- AspectJ自定义注解报错:error Type referred to is not an annotation type:xxx -----IllegalArgumentException
- Android反编译工具合集
- 关于请设置注册表项Framewoke.....初始化错误的解决办法
- 用Vue-cli从头搭建项目
- [iOS]ARC下循环引用的问题
- iOS开发中extension的用法(延展)
- java门禁系统项目开发实现
- MySQL关键字,主关键字,候选关键字
- 世界最大射电望远镜(Arecibo)用于探测地外文明
- 数字化转型:企业转型的数据治理方式
- 飞行控制系统中速度的表示
- plsql中执行SELECT current_date FROM dual,为什么获取的时间不正确?获取的不是我本地的时间
热门文章
- Android系统10 RK3399 init进程启动(十五) 配置新产品
- 网络交互实验实验总结
- C#【汇总篇】语法糖汇总
- JS字符串padStart()方法,padEnd()方法
- NB-IoT的上行SC-FDMA与下行OFDMA的matlab误码率仿真
- 单测利器——PowerMockito使用心得
- c语言stm8变量存储类型,STM8使用----STVD(COSMIC)定义变量指定其类型和位定义
- 先验分布,后验分布,似然函数
- Android框架的详解
- 植物大战僵尸:学会使用人造指针