一、控制台

功能  Windows & Linux   Mac

  1. 移动鼠标到控制台 Ctrl+2 Ctrl+2
  2. 移动到鼠标命令编辑 Ctrl+1 Ctrl+1
  3. 控制台清屏 Ctrl+L Command+L
  4. 移动鼠标至第一行 Home Command+Left
  5. 移动鼠标至最后一行 End Command+Right
  6. 历史记录翻滚 Up/Down Up/Down
  7. 弹出历史记录栏 Ctrl+Up Command+Up
  8. 终止目前命令 Esc Esc
  9. 改变工作路径 Ctrl+Shift+K Ctrl+Shift+K

二、代码区

  功能     Windows & Linux      Mac

  1. 移动鼠标到文件搜索区 Ctrl+. Ctrl+.
  2. 移动鼠标至文件编辑区 Ctrl+1 Ctrl+1
  3. 新文档(chrome除外) Ctrl+Shift+N Command+Shift+N
  4. 打开文档 Ctrl+O Command+O
  5. 保存当前文档 Ctrl+S Command+S
  6. 关闭当前文档(chrome除外) Ctrl+W Command+W
  7. 关闭当前文档(chrome) Ctrl+Shift+Z Command+Shift+Z
  8. 关闭所有文档 Ctrl+Shift+W Command+Shift+W
  9. 预览HTML Ctrl+Shift+Y Command+Shift+Y
  10. 转换为HTML Ctrl+Shift+H Command+Shift+H
  11. 编译PDF (TeX and Sweave) Ctrl+Shift+I Command+Shift+I
  12. 插入块 Ctrl+Alt+I Command+Option+I
  13. 插入代码块 Ctrl+Shift+R Command+Shift+R
  14. 运行当前行 Ctrl+Enter Command+Enter
  15. 重新运行当前区 Ctrl+Shift+P Command+Shift+P
  16. 运行当前文档 Ctrl+Alt+R Command+Option+R
  17. 从开始运行至当前行 Ctrl+Alt+B Command+Option+B
  18. 从当前行运行至结尾 Ctrl+Alt+E Command+Option+E
  19. 运行当前函数定义 Ctrl+Alt+F Command+Option+F
  20. 运行当前块 Ctrl+Alt+C Command+Option+C
  21. 运行下一个块 Ctrl+Alt+N Command+Option+N
  22. 执行一个文件 Ctrl+Shift+O Command+Shift+O
  23. 执行当前文档 Ctrl+Shift+S Command+Shift+S
  24. 执行当前文档并且显示 Ctrl+Shift+Enter Command+Shift+Enter
  25. 折叠选项 Alt+L Command+Option+L
  26. 打开选项 Shift+Alt+L Command+Shift+Option+L
  27. 折叠所有 Alt+0 Command+Option+0
  28. 打开所有 Shift+Alt+0 Command+Shift+Option+0
  29. 前往行 Shift+Alt+G Command+Shift+Option+G
  30. 跳至 Shift+Alt+J Command+Shift+Option+J
  31. 换页 Ctrl+Alt+Down Ctrl+Option+Down
  32. 前一页 Win: Ctrl+Alt+Left, Linux: Ctrl+PageUp Ctrl+Option+Left
  33. 后一页 Win: Ctrl+Alt+Right, Linux: Ctrl+PageDown Ctrl+Option+Right
  34. 第一页 Ctrl+Shift+Alt+Left Ctrl+Shift+Option+Left
  35. 最后一页 Ctrl+Shift+Alt+Right Ctrl+Shift+Option+Right
  36. 往回导航 Ctrl+F9 Command+F9
  37. 向前导航 Ctrl+F10 Command+F10
  38. 行缩进 Ctrl+I Command+I
  39. 从选择中抽取函数 Ctrl+Shift+U Command+Shift+U
  40. 注释/取消注释当前行 Ctrl+Shift+C Command+Shift+C
  41. 重新注释 Ctrl+Shift+/ Command+Shift+/
  42. Transpose Letters Ctrl+T
  43. Move Lines Up/Down Alt+Up/Down Option+Up/Down
  44. Copy Lines Up/Down Ctrl+Alt+Up/Down Command+Option+Up/Down
  45. Jump to Matching Brace/Paren Ctrl+P Ctrl+P
  46. Find and Replace Ctrl+F Command+F
  47. Find Next Win: F3, Linux: Ctrl+G Command+G
  48. Find Previous Win: Shift+F3, Linux: Ctrl+Shift+G Command+Shift+G
  49. Replace and Find Ctrl+= Command+=
  50. Find in Files Ctrl+Shift+F Command+Shift+F
  51. Check spelling F7 F7

三、Editing (Console and Source)

  Description  Windows & Linux    Mac

  1. Undo Ctrl+Z Command+Z
  2. Redo Ctrl+Shift+Z Command+Shift+Z
  3. Cut Ctrl+X Command+X
  4. Copy Ctrl+C Command+C
  5. Paste Ctrl+V Command+V
  6. Select All Ctrl+A Command+A
  7. Jump to Word Ctrl+Left/Right Option+Left/Right
  8. Jump to Start/End Ctrl+Home/End or Ctrl+Up/Down Command+Home/End or Command+Up/Down
  9. Delete Line Ctrl+D Command+D
  10. Select Shift+[Arrow] Shift+[Arrow]
  11. Select Word Ctrl+Shift+Left/Right Option+Shift+Left/Right
  12. Select to Line Start Shift+Home Command+Shift+Left or Shift+Home
  13. Select to Line End Shift+End Command+Shift+Right or Shift+End
  14. Select Page Up/Down Shift+PageUp/PageDown Shift+PageUp/Down
  15. Select to Start/End Ctrl+Shift+Home/End or Shift+Alt+Up/Down Command+Shift+Up/Down
  16. Delete Word Left Ctrl+Backspace Option+Backspace or Ctrl+Option+Backspace
  17. Delete Word Right Option+Delete
  18. Delete to Line End Ctrl+K
  19. Delete to Line Start Option+Backspace
  20. Indent Tab (at beginning of line) Tab (at beginning of line)
  21. Outdent Shift+Tab Shift+Tab
  22. Yank line up to cursor Ctrl+U Ctrl+U
  23. Yank line after cursor Ctrl+K Ctrl+K
  24. Insert currently yanked text Ctrl+Y Ctrl+Y
  25. Insert assignment operator Alt+- Option+-
  26. Show help for function at cursor F1 F1
  27. Show source code for function at cursor F2 F2
  28. Completions (Console and Source)
  29. Description Windows & Linux Mac
  30. Attempt completion Tab or Ctrl+Space Tab or Command+Space
  31. Navigate candidates Up/Down Up/Down
  32. Accept selected candidate Enter, Tab, or Right Enter, Tab, or Right
  33. Dismiss completion popup Esc Esc

四、Views

  Description Windows & Linux Mac

  1. Goto File/Function Ctrl+. Ctrl+.
  2. Move cursor to Source Editor Ctrl+1 Ctrl+1
  3. Move cursor to Console Ctrl+2 Ctrl+2
  4. Move focus to Help Ctrl+3 Ctrl+3
  5. Show History Ctrl+4 Ctrl+4
  6. Show Files Ctrl+5 Ctrl+5
  7. Show Plots Ctrl+6 Ctrl+6
  8. Show Packages Ctrl+7 Ctrl+7
  9. Show Workspace Ctrl+8 Ctrl+8
  10. Show Git/SVN Ctrl+9 Ctrl+9
  11. Show Build Ctrl+0 Ctrl+0
  12. Sync Editor and PDF Preview Ctrl+F8 Command+F8

五、Build

  Description Windows & Linux Mac

  1. Build and Reload Ctrl+Shift+B Command+Shift+B
  2. Load All (devtools) Ctrl+Shift+L Command+Shift+L
  3. Check Package Ctrl+Shift+E Command+Shift+E

六、Plots

  Description Windows & Linux Mac

  1. Previous plot Ctrl+Shift+PageUp Command+Shift+PageUp
  2. Next plot Ctrl+Shift+PageDown Command+Shift+PageDown
  3. Show manipulator Ctrl+Shift+M Command+Shift+M

七、Git/SVN

  Description Windows & Linux Mac

  1. Diff active source document Ctrl+Shift+D Command+Shift+D
  2. Commit changes Ctrl+Shift+M Command+Shift+M
  3. Scroll diff view Ctrl+Up/Down Ctrl+Up/Down
  4. Stage/Unstage (Git) Spacebar Spacebar
  5. Stage/Unstage and move next (Git) Enter Enter

R语言-RStudio快捷键总结的更多相关文章

  1. 【转】R语言 RStudio快捷键

    链接地址  http://blog.sina.com.cn/s/blog_403aa80a0101ar8q.html 控制台 功能 Windows & Linux Mac 移动鼠标到控制台 C ...

  2. 使用R语言-RStudio快捷键

    控制台 功能 Windows & Linux Mac 移动鼠标到控制台 Ctrl+2 Ctrl+2 控制台清屏 Ctrl+L Command+L 移动鼠标至第一行 Home Command+L ...

  3. 给R语言RStudio添加阿里云镜像源

    镜像下载.域名解析.时间同步请点击阿里云开源镜像站 方法一: 打开RStudio,输入options()$repos查看默认镜像源情况 options()$repos 打开tools工具栏,找到Glo ...

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

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

  5. RStudio:R语言编辑器

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

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

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

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

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

  8. R语言学习笔记1——R语言中的基本对象

    R语言,一种自由软件编程语言与操作环境,主要用于统计分析.绘图.数据挖掘.R本来是由来自新西兰奥克兰大学的Ross Ihaka和Robert Gentleman开发(也因此称为R),现在由“R开发核心 ...

  9. R语言函数化编程笔记1

    R语言函数化编程笔记1 notes:有一个不错的网站叫做stack overflow,有问题可以从上面找或者搜索答案,会有大佬相助. 在github上面可以找到很多R的扩展包,如果自己额修改被接受,那 ...

随机推荐

  1. SPFA穿越虫洞——负权回路得判断

    poj3259 题目大意:穿越虫洞可以回到过去(时间--)所以能不能让时间倒流呢,就是判断有没有负权回路这次尝试用SPFA算法,也可以复习一下链式前向星 准备工作,队列q,spfa算法得有点就在于这个 ...

  2. fastreport字体加粗

    procedure MasterData1OnBeforePrint(Sender: TfrxComponent); begin IF (<frxDB_cdsresult."res_C ...

  3. Delphi XE10 dxLayoutControl 控件应用指南

    https://www.cnblogs.com/Bonny.Wong/p/7440288.html DevExpress VCL套件是一套非常强大的界面控件,可惜关于Delphi开发方面的说明太少,有 ...

  4. NET平台开源项目速览(6)FluentValidation验证组件介绍与入门(转载)

    原文地址:http://www.cnblogs.com/asxinyu/p/dotnet_Opensource_project_FluentValidation_1.html 阅读目录 1.基本介绍 ...

  5. 【算法31】寻找数组的主元素(Majority Element)

    题外话 最近有些网友来信问我博客怎么不更新了,是不是不刷题了,真是惭愧啊,题还是在刷的,不过刷题的频率没以前高了,看完<算法导论>后感觉网上很多讨论的题目其实在导论中都已经有非常好的算法以 ...

  6. matlab pca基础知识

    PCA的一些基本资料 最近因为最人脸表情识别,提取的gabor特征太多了,所以需要用PCA进行对提取的特征进行降维. 本来最早的时候我没有打算对提取的gabor特征进行降维,但是如果一个图像时64*6 ...

  7. .net core初试 --- 控制台程序

    .net core这个名字对.net程序员来说都不陌生了,但貌似圈子里真正有开发经验的并不多,关键是公司的项目没需求. 今天我就趁着不忙上手玩了玩,搞明白了一些东西,心中也有了十万个为什么.那么现在与 ...

  8. 在Asp.Net MVC中使用NPOI插件实现对Excel的操作(导入,导出,合并单元格,设置样式,输入公式)

    前言 NPOI 是 POI 项目的.NET版本,它不使用 Office COM 组件,不需要安装 Microsoft Office,目前支持 Office 2003 和 2007 版本. 1.整个Ex ...

  9. Regular进阶: 跨组件通信

    本文由作者郑海波授权网易云社区发布. 背景 在组件化不断深入的大环境下,无论使用哪种 MDV 框架都最终会遇到一个头疼的问题,就是「跨组件通信」. 下图是个简单的例子 这里包含「事件通信」和「数据通信 ...

  10. day24 计算任意文件夹大小 , 校验大文件的一致性 , 发抢红包程序

    #!/usr/bin/env python# -*- coding:utf-8 -*- # 1.计算任意一个文件夹的大小(考虑绝对路径的问题)# 基础需求 这个文件夹中只有文件# 进阶需求 这个文件夹 ...