【问题标题】:Editing keyboard shortcut to produce code chunk in R studio编辑键盘快捷键以在 R studio 中生成代码块
【发布时间】:2020-10-06 01:03:33
【问题描述】:

我在 RStudio 中使用 Rmd 以不同的语言进行编辑,包括 Python、bash 和 R。我想知道是否有办法编辑“插入代码块”选项和/或其键盘快捷键。

我想要一个快捷方式来插入 Python 代码块,另一个用于 bash,另一个用于 R 代码块。这可能吗?

供参考,this is how you insert a new code chunk in RStudio

【问题讨论】:

    标签: python r rstudio reticulate


    【解决方案1】:

    进入RStudio中的ToolsModify Keyboard Shortcuts,你会得到这样的:

    然后按chunk 过滤,为该语言输入所需的快捷方式,然后应用

    【讨论】:

      猜你喜欢
      • 2015-09-05
      • 1970-01-01
      • 1970-01-01
      • 2017-08-04
      • 1970-01-01
      • 2011-01-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多