我不能让Eclipse、Statet和R一起工作。当我启动R时,我收到一个错误:
启动R控制台被取消,因为它似乎启动R引擎失败。请确保安装了R包'rj‘(2.0或兼容),并为R环境配置“R测试”正确设置了R库路径。
我已经安装了Eclipse露娜(64位)、Statet、Java 1.8.0_25 (64位)和R3.1.2(64位)。我正在windows 7(64位)上运行。根据需要,我使用以下方法安装了包"rj“和"rj.gd”:
install.packages(c("rj", "rj.gd"), repos="http://download.walware.de/rj-2.0")它安装得很好:
packageDescription("rj")
Encoding: UTF-8
Package: rj
Version: 2.0.2-1
Title: RJ - R Package for high-level Java-R library RJ
Author: Stephan Wahlbrink, Tobias Verbeke, low-level R binding based on the JRI library by Simon Urbanek
Maintainer: Stephan Wahlbrink <stephan.wahlbrink@walware.de>
Depends: R (>= 2.11.0)
Suggests: rj.gd
SystemRequirements: java
Description: Server implementation and R functions for the high-level Java-R library RJ. The package also includes callback functions for StatET. It is shipped with an adapted version of the JRI library. The package can be used only when R was loaded via RJ.
License: LGPL (>= 2.1)
URL: http://www.walware.de/goto/opensource
Packaged: 2014-07-11 15:43:15 UTC; build
Built: R 3.1.1; x86_64-w64-mingw32; 2014-07-11 15:47:59 UTC; windows
-- File: c:/~/R/win-library/3.1/rj/Meta/package.rds我确保了图书馆的路径是正确的。我有点不知所措,怎么继续下去。
谢谢你的帮助。
克里斯多夫
发布于 2016-02-20 14:17:28
我将R_LIBS_USER设置为R环境中的/library/文件夹,它运行良好。

https://stackoverflow.com/questions/27228982
复制相似问题