"Issue with R extension when running"
rjschiller
New Altair Community Member
What can be the problem after install RapidMiner on Linux, building the R-extension and launching it. RapidMinerGUI comes up and shows that the extension has found the libjri.so in my installed location /usr/local/rapidminer/library/rJava/jri/libjri.so, and starts the extension as expected; however when I try to run a the "Generate Vector" demo I get the following message: "Process failed: org.rsouda.JRI.Rengine.isJriLoaded(()Z". THen when I look at the standard output for RapidMinerGUI I see the following (can anybody help me with this):
Jun 24, 2011 1:16:53 PM com.rapidminer.Process run
INFO: Process //RapidMinerRepository/RapidMinerRepository/Rdemo1 starts
Jun 24, 2011 1:16:53 PM com.rapidminer.gui.ProcessThread run
SEVERE: Process failed: org.rosuda.JRI.Rengine.isJriLoaded()Z
java.lang.NoSuchMethodError: org.rosuda.JRI.Rengine.isJriLoaded()Z
at org.rosuda.JRI.JRIEngine.<init>(JRIEngine.java:220)
at com.rapidminer.tools.r.JRIRSession.initializeEngine(JRIRSession.java:320)
at com.rapidminer.tools.r.JRIRSession.<init>(JRIRSession.java:78)
at com.rapidminer.tools.r.RSessionManager.acquireSession(RSessionManager.java:235)
at com.rapidminer.tools.r.RSessionManager.acquireSession(RSessionManager.java:196)
at com.rapidminer.operator.r.GenericROperator.doWork(GenericROperator.java:105)
at com.rapidminer.operator.Operator.execute(Operator.java:831)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:709)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:369)
at com.rapidminer.operator.Operator.execute(Operator.java:831)
at com.rapidminer.Process.run(Process.java:902)
at com.rapidminer.Process.run(Process.java:798)
at com.rapidminer.Process.run(Process.java:793)
at com.rapidminer.Process.run(Process.java:783)
at com.rapidminer.gui.ProcessThread.run(ProcessThread.java:63)
Jun 24, 2011 1:16:53 PM com.rapidminer.gui.ProcessThread run
SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
==> +- Generate Vector[1] (Generate Vector)
Jun 24, 2011 1:16:53 PM com.rapidminer.Process run
INFO: Process //RapidMinerRepository/RapidMinerRepository/Rdemo1 starts
Jun 24, 2011 1:16:53 PM com.rapidminer.gui.ProcessThread run
SEVERE: Process failed: org.rosuda.JRI.Rengine.isJriLoaded()Z
java.lang.NoSuchMethodError: org.rosuda.JRI.Rengine.isJriLoaded()Z
at org.rosuda.JRI.JRIEngine.<init>(JRIEngine.java:220)
at com.rapidminer.tools.r.JRIRSession.initializeEngine(JRIRSession.java:320)
at com.rapidminer.tools.r.JRIRSession.<init>(JRIRSession.java:78)
at com.rapidminer.tools.r.RSessionManager.acquireSession(RSessionManager.java:235)
at com.rapidminer.tools.r.RSessionManager.acquireSession(RSessionManager.java:196)
at com.rapidminer.operator.r.GenericROperator.doWork(GenericROperator.java:105)
at com.rapidminer.operator.Operator.execute(Operator.java:831)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:709)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:369)
at com.rapidminer.operator.Operator.execute(Operator.java:831)
at com.rapidminer.Process.run(Process.java:902)
at com.rapidminer.Process.run(Process.java:798)
at com.rapidminer.Process.run(Process.java:793)
at com.rapidminer.Process.run(Process.java:783)
at com.rapidminer.gui.ProcessThread.run(ProcessThread.java:63)
Jun 24, 2011 1:16:53 PM com.rapidminer.gui.ProcessThread run
SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
==> +- Generate Vector[1] (Generate Vector)
Tagged:
0
Answers
-
It's been six months since you postednthis question, but just in case you try to use the R extension again, I posted a solution to a similar problem here:
(http://rapid-i.com/rapidforum/index.php/topic,4453.0.html)
HTH0