r - 如何在 RStudio 中为不同版本的 R 设置快捷方式?

标签 r configuration rstudio

使用 Rstudio,它是 easy to configure it对于不同版本的 R。您只需导航到 /Tools/Options并选择您喜欢的 R 版本。

但是有没有一种简单的方法来设置菜单(或桌面)快捷方式或命令行脚本以指向不同版本的 R?

我的用例是我经常想在不同版本的 R 中运行和比较脚本,例如:

  • R-2.15.3
  • R-开发 (R-3.0.0)

  • 将其设置为单击快捷方式而不是每次都导航菜单会很有用。

    (我很欣赏这可能更适合 Super User 但在我看来,这个问题的答案更有可能在 StackOverflow 上找到。)

    我应该怎么做才能配置这样的快捷方式?

    附加信息:我正在运行 Windows。

    最佳答案

    当您单击桌面快捷方式时,您不能按住控制吗?

    来自 the link you posted :

    Note that by holding down the Control key during the launch of RStudio you can cause the R version selection dialog to display at startup.

    关于r - 如何在 RStudio 中为不同版本的 R 设置快捷方式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15480423/

    相关文章:

    r - 在 RStudio 中清除命令历史记录的命令或键盘快捷键

    r - 如何隐藏来自pander()的消息?

    r ggplot2 : grouping legend in bar plots

    r - Dockerfile未安装ggmap

    iis - 如何使用指向 DropBox 的物理路径设置 IIS 7?

    R 版本不支持 quartz 图形设备 - RStudio 不会绘图

    用另一个栅格中的值替换栅格中的值

    .net - 如何为 web/app.config 架构创建扩展 xsd?

    configuration - 通过 appsettings.json 为 Application Insights 配置 Serilog

    docker - 不带systemd的CentOS 7 Docker镜像中的服务