Examples for the R Scripting operator have errors - confirmation sought for possible solution.

Andrew
Andrew New Altair Community Member
edited November 5 in Community Q&A
The examples that come with the R scripting operator (I have 9.6.000 installed) don't always work. 

After a bit of investigation, it turns out that the rm_main function must return data frames and not data.table objects. 

So, this fragment of code from the end of the example that comes with the R script operator doesn't work.
return(list(data,data2))
While this does
return(list(data.frame(data),data.frame(data2)))
Would it be possible to get confirmation that I'm right?
Tagged: