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

R语言客户端RStudio快捷键大全的更多相关文章

  1. Rserve详解,R语言客户端RSclient【转】

    R语言服务器程序 Rserve详解 http://blog.fens.me/r-rserve-server/ Rserve的R语言客户端RSclient https://blog.csdn.net/u ...

  2. R语言服务器程序 Rserve详解

    R语言服务器程序 Rserve详解 R的极客理想系列文章,涵盖了R的思想,使用,工具,创新等的一系列要点,以我个人的学习和体验去诠释R的强大. R语言作为统计学一门语言,一直在小众领域闪耀着光芒.直到 ...

  3. R语言最好的IDE——RStudio

    转自http://www.dataguru.cn/article-1602-1.html 看到很多的R语言教材,介绍的编辑器或者IDE都是很简陋的那些,就没有见到有人提到RStudio.对于不使用Em ...

  4. RStudio:R语言编辑器

    RStudio:R语言编辑器 四窗口 左上:写代码,运行的方式是ctrl+Enter,或者用Run按钮 10 + 15 ## [1] 25 左下:终端,上面窗口的代码运行后会在这里显示,也可以直接在这 ...

  5. R语言入门1:安装R和RStudio

    R语言入门1:安装R和RStudio 曹务强 中科院遗传学博士研究生 9 人赞同了该文章 1. Windows安装R 在Windows系统上,安装R语言比较简单,直接从R的官方网站下载,按照正常的软件 ...

  6. R语言 data.frame 大全

    A data frame is used for storing data tables. It is a list of vectors of equal length. For example, ...

  7. R语言入门:使用RStudio的基本操作

    R语言在人工智能,统计学,机器学习,量化投资,以及生物信息学方面有着十分广泛的运用.也是我大学的必修课,因此这里梳理一些有关R语言的知识点,做做记录. 首先我们需要知道R语言的工作区域,R语言默认的工 ...

  8. [No00009B]win10快捷键大全

    微软为Win10命令行(Command Prompt)加入了Ctrl + V的支持 Win10新增功能快捷键大全: 贴靠窗口:Win + 左/右 >  Win + 上/下 > 窗口可以变为 ...

  9. win10快捷键大全 win10常用快捷键

    win10快捷键大全大家可以来了解一下,今天小编带来了win10常用快捷键,很多朋友喜欢使用快捷键来操作电脑,那么Windows10系统有哪些新的快捷键呢• 贴靠窗口:Win +左/右> Win ...

随机推荐

  1. 软件工具将GPU代码迁移到fpga以用于AI应用

    软件工具将GPU代码迁移到fpga以用于AI应用 Software tools migrate GPU code to FPGAs for AI applications 人工智能软件初创公司Mips ...

  2. Firfox、Chrome之python-selenium环境搭建

    公共步骤: 一.文件下载 下载地址: python安装包:https://www.python.org/getit/ PyCharm 安装包:http://www.jetbrains.com/pych ...

  3. 尚硅谷Java——宋红康笔记【day1-day5】

    day1 注释 1.java规范的三种注释方式: 单行注释 多行注释 文档注释(java特有) 2. 单行注释和多行注释的作用: ① 对所写的程序进行解释说明,增强可读性.方便自己,方便别人 ② 调试 ...

  4. Kafka源码分析(三) - Server端 - 消息存储

    系列文章目录 https://zhuanlan.zhihu.com/p/367683572 目录 系列文章目录 一. 业务模型 1.1 概念梳理 1.2 文件分析 1.2.1 数据目录 1.2.2 . ...

  5. Pytorch线性规划模型 学习笔记(一)

    Pytorch线性规划模型 学习笔记(一) Pytorch视频学习资料参考:<PyTorch深度学习实践>完结合集 Pytorch搭建神经网络的四大部分 1. 准备数据 Prepare d ...

  6. 【NX二次开发】Block UI 面收集器

    属性说明 属性   类型   描述   常规           BlockID    String    控件ID    Enable    Logical    是否可操作    Group    ...

  7. 【VBA】获取文件夹下所有文本文件

    源码: 1 Sub 获取文件夹下所有文本文件() 2 Dim strPath As String 3 strPath = "G:\A\" 4 Dim MyFile As Strin ...

  8. 2.docker下centos镜像

    1.下载并运行 # 交互模式下载并运行centos容器 $ docker run -it centos:latest /bin/bash 1.1 配置centos的环境别名 $ vi /etc/bas ...

  9. SQL 利用存储过程实现对表数据有则更新无则添加(转)

    初学存储过程,发现这篇文章简单易懂,特意转载,地址 http://blog.csdn.net/luotuomianyang/article/details/52013144 如果某一操作包含大量的T- ...

  10. [202103] Interview Summary

    整理 2021 March「偷」到的算法题. 题目: 阿里:https://codeforces.com/contest/1465/problem/C 字节:输出 LCS Jump Trading:给 ...