在 Win64 中使用 StatET 和 Eclipse:“当前工作台窗口中没有活动的 R 会话”

发布于 2024-12-20 00:57:54 字数 73 浏览 1 评论 0原文

当我尝试启动 R 时在 Eclipse 中收到以下错误消息,我该怎么办?

“当前工作台窗口中没有活动的 R 会话”

What do I do when I get the following error message in Eclipse when trying to launch R?

"no session of R is active in the current workbench window"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

我的奇迹 2024-12-27 00:57:54

我制作了一个在 Win64 系统上安装 StatET 的教程,你可以找到它 此处 (镜像)。尽管这不是什么高深的科学,但在此过程中很容易遇到问题。

您需要首先为您的系统配置 R,然后还需要进入 Run > >运行配置...并添加 R 控制台,然后才能运行它。

您还需要注意您使用的 Java 版本。我必须卸载所有 Java,然后重新安装 64 位才能运行。我想我可以使用 32 位,但由于我使用 64 位 RI,我认为这可能是一个更好的选择(尽管我认为 Eclipse 环境和 R 并不真正关心共享位)

I've made a tutorial for installing StatET on my Win64 system, you can find it here (mirror). Although it's no rocket science it's easy to get into issues along the way.

You need to first configure R for your system and then you also need to go into Run > Run Configurations... and add a R Console before you can run it.

You also need to be careful about the Java version that you use. I had to uninstall all my Java, then reinstall the 64-bit before it worked. I guess I could've used the 32-bit, but since I use 64-bit R I thought that it might be a better option (although I think the Eclipse environment and R don't really care about sharing bits)

三寸金莲 2024-12-27 00:57:54

对我来说,必须选择 rterm,它显示 r 控制台/终端。然后执行 run ,运行为 ->通过源代码在 R 中作为脚本运行

for me had to select rterm, that displayed the r console/terminal. Then do run , run as -> run in R as script via source

帅的被狗咬 2024-12-27 00:57:54

我遇到了同样的问题。
转到“运行”>运行配置> RStudio

并单击“运行”

I had the sampe problem.
go to Run > Run Configurations > RStudio

and klick on "Run"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文