我不能让Eclipse,Statet和R一起工作。我启动R时收到错误:
启动R控制台已取消,因为它似乎启动R引擎失败。 请确保已安装R软件包'rj'(2.0或兼容),并且R库路径已针对R环境配置'R test'正确设置。
我安装了Eclipse Luna(64位),Statet,Java 1.8.0_25(64位)和R 3.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
我确保库路径是正确的。我有点不知所措,如何继续。
感谢您的帮助。
了Christoph