RScript Process Fails
pedrodomingosdv
New Altair Community Member
Hello,
I want to execute R script to perform ARIMA in my data.
I was able to code it in the R software and all good there. However I was a bit lost in how to execute it in Rapidminer, so I searched a little bit and found in some R script official documents an example workflow with an ARIMA R code (using some Yahoo financial data). So I try to adapt my code with what I saw in that example.
Unfortunately, the example and my own script return always the same message: Process Failed (enclosed you may find the error message details)
I want to execute R script to perform ARIMA in my data.
I was able to code it in the R software and all good there. However I was a bit lost in how to execute it in Rapidminer, so I searched a little bit and found in some R script official documents an example workflow with an ARIMA R code (using some Yahoo financial data). So I try to adapt my code with what I saw in that example.
Unfortunately, the example and my own script return always the same message: Process Failed (enclosed you may find the error message details)
I guess that may exist something wrong with the script. Maybe even a package missing, but I can't figure it out.
Note: I tried to run the "Execute R" tutorials and it worked with no issue at all.
Enclosed the process, below the error message details:
Note: I tried to run the "Execute R" tutorials and it worked with no issue at all.
Enclosed the process, below the error message details:
Exception: com.rapidminer.operator.OperatorException
Message: Script terminated abnormally.
Stack trace:
com.rapidminer.extension.rscripting.operator.scripting.AbstractScriptRunner.run(AbstractScriptRunner.java:166)
com.rapidminer.extension.rscripting.operator.scripting.AbstractScriptingLanguageOperator.doWork(AbstractScriptingLanguageOperator.java:90)
com.rapidminer.extension.rscripting.operator.scripting.r.RScriptingOperator.doWork(RScriptingOperator.java:73)
com.rapidminer.operator.Operator.execute(Operator.java:1025)
com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
java.security.AccessController.doPrivileged(Native Method)
com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:428)
com.rapidminer.operator.Operator.execute(Operator.java:1025)
com.rapidminer.Process.execute(Process.java:1322)
com.rapidminer.Process.run(Process.java:1297)
com.rapidminer.Process.run(Process.java:1183)
com.rapidminer.Process.run(Process.java:1136)
com.rapidminer.Process.run(Process.java:1131)
com.rapidminer.Process.run(Process.java:1121)
com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)
0
Comments
-
I was able to run your process by simply providing data, and updating the column name in your script to my data. So I don't think there is anything inherently wrong with the script. Would you be able to provide a little more environment information for diagnostics? Version of RapidMiner, R, and the forecast package? Also, a small data file could help make sure we have an exact match.
Jeff0 -
Hi jmergler,
- Forecast package -> vs 8.4
- RM Studio Free -> vs 9.0.003
- R Studio Version -> vs 1.1.463
Enclosed the process and source data files.
Thanks a lot!0 -
Hi jmergler,
- Forecast package -> vs 8.4
- RM Studio Free -> vs 9.0.003
- R Studio Version -> vs 1.1.463
Enclosed the process and source data files.
Thanks a lot!0