"Map a function from RScript Extension (RM 5.3) to RScript (RM 7.3)"
hi,
I want to reproduce an experiment in RM 5.3 where the R Extension was used with the RScript operator (see screenshot)
the problem is, I am missing the fields "inputs" and "results" from the new operators in RM 7.3
there are 2, "Execute R", and "Execute Script", which one is the right one? and where can I enter the inputs and results parameter in them? I'm quite new
and a layman in scripting and I can't see the parallels where to use or enter those parameters...any help would be appreciated...
Best Answer
-
The new R Scripting extension was completely rewrittten, so a lot of things will likely break if you just try to grab an old script from the R Extension and put it into the R Scripting operator.
The input and results parameters from the old extension are now just the input and output ports. You just connect the RapidMiner data output to the input of the new R Scripting extension and the Data Tables package automatically transforms the RM data into a Data Table that the new operator can use. It then converts this again when you return the data to the ouput port.
0
Answers
-
The new R Scripting extension was completely rewrittten, so a lot of things will likely break if you just try to grab an old script from the R Extension and put it into the R Scripting operator.
The input and results parameters from the old extension are now just the input and output ports. You just connect the RapidMiner data output to the input of the new R Scripting extension and the Data Tables package automatically transforms the RM data into a Data Table that the new operator can use. It then converts this again when you return the data to the ouput port.
0