使用 Rstudio,它是 easy to configure it对于不同版本的 R。您只需导航到 /Tools/Options
并选择您喜欢的 R 版本。
但是有没有一种简单的方法来设置菜单(或桌面)快捷方式或命令行脚本以指向不同版本的 R?
我的用例是我经常想在不同版本的 R 中运行和比较脚本,例如:
将其设置为单击快捷方式而不是每次都导航菜单会很有用。
(我很欣赏这可能更适合 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/