Mac OS X 中的多个独立 R 会话 [英] multiple independent R sessions in Mac OS X

查看:90
本文介绍了Mac OS X 中的多个独立 R 会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要运行多个 R 会话,并希望它们可以在不同的 R 会话中执行.在 Windows 中,我可以打开任意数量的 R 会话,并在每个会话中运行不同的代码(RGui 和 RStudio).但是,在 Mac OSX 中,R.app 和 RStudio 都不允许我打开多个独立会话——我必须等到第一组 R 代码完成才能运行第二组 R 代码.

I need to run multiple R sessions, and hope that they can be performed in different R sessions. In Windows, I am able to open an arbitrary number of R sessions, and run different codes in each session (both RGui and RStudio). However, in Mac OSX, neither R.app nor RStudio would allow me to open multiple independent sessions -- I have to wait until the first set of R codes are completed in order to run a second set of R codes.

在 Mac OSX 中是否有任何解决方案?这个问题很久以前就一直困扰着我,所以我想听听你的建议.谢谢!

Is there any solution in Mac OSX? This issues had bothered me long ago, so I'd like to hear your suggestions. Thanks!

推荐答案

感谢您的所有建议.以下是可能的解决方案的简要摘要:

Thank you for all the suggestions. Here is a brief summary of the possible solutions:

  1. 使用终端:在终端中运行:open -n/Applications/RStudio.app
  2. 安装允许多个会话的 Emacs 和 ESS
  3. 通过选项拖动复制整个 R.app 包(您可以重命名副本)
  4. 使用项目运行多个 rstudio 会话

这篇关于Mac OS X 中的多个独立 R 会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆