我的操作系统是 Mac OS Lion
当我在 Eclipse 中启动 R 时(在成功安装 statet 之后,在 R 和 bash 中,包“rjava、rj 和 rj-gd”)我仍然收到图片中的错误消息。
在 ecipse.ini 中我指定了一个 vm iee
-vm
/usr/bin/java
错误日志有以下几行。任何帮助将不胜感激
Launching the R Console was cancelled, because it seems starting the R engine failed.
Please make sure that R package 'rj' (0.5.5 or compatible) is installed and that the R library paths are set correctly for the R environment configuration 'R'.
Process Error Log:
Nov 17, 2011 4:26:41 PM de.walware.rj.server.RMIServerControl start
INFO: [Control:rjs-local-1321543599373] initialize server...
Nov 17, 2011 4:26:41 PM de.walware.rj.server.srvImpl.AbstractServerControl initREngine
SEVERE: [Control:rjs-local-1321543599373] init JRI/Rengine failed.
java.lang.NoClassDefFoundError: de/walware/rj/server/dbg/TracepointListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at de.walware.rj.server.jri.loader.JRIClassLoader.findClass(JRIClassLoader.java:514)
at de.walware.rj.server.jri.loader.JRIClassLoader.loadRJavaClass(JRIClassLoader.java:746)
at de.walware.rj.server.jri.loader.JRIServerLoader.loadServer(JRIServerLoader.java:82)
at de.walware.rj.server.srvImpl.AbstractServerControl.initREngine(AbstractServerControl.java:145)
at de.walware.rj.server.RMIServerControl.start(RMIServerControl.java:104)
at de.walware.rj.server.RMIServerControl.main(RMIServerControl.java:41)
Caused by: java.lang.ClassNotFoundException: de.walware.rj.server.dbg.TracepointListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at de.walware.rj.server.jri.loader.JRIClassLoader.findClass(JRIClassLoader.java:514)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 15 more