Hello,
I'm trying to get the results of "read.transactions()" and aprior (rules) to the output of an R node. It gives this error when I do: "Error in as.list.default(X) :".
Preferably, I'd like to write these out as the objects they are (list of rules, transactions, etc.). However, if it is mandatory to convert to a dataframe before writing them out, I can change it. Tried converting to a df before the "write.Alteryx" function, but that didn't work.
Could somebody please help? I've attached the workflow and some dummy data.
Solved! Go to Solution.
This is likely an issue with the way that you are using R to convert your list to a data frame prior to output. Take a look at this article on someone doing something similar and creating a data frame with apriori data:
https://stackoverflow.com/questions/25730000/converting-object-of-class-rules-to-data-frame-in-r
Thanks, Brandon, will check it out.