Stop teapot / spoon from crashing with one line R script
Suppose there is a simple R script with only one statement: d ()
Using the R script plugin in Pentaho Kettle / Spoon, executing the above R script causes Spoon / Kettle to crash.
How can we stop Kettle / Spoon from crashing abnormally with the above statement in our R script?
The teapot should instead stop executing the script and the execution control should return to the teapot.
+3
AWZ SmartPhone
source
to share
1 answer
Try using return (value) instead of q () to expect the teapot to process the value from the R script and continue the general stream of lines in the teapot.
0
jipipayo
source
to share