I've been working on rewriting my code that worked with data.frames to work with ffdf. I had two columns, and after a lot of fuss I've managed to do a split and get a list with the following look:
data=
$A
1 2 3
$B
4 5 6
where A,B are the "baskets" or groupings, and "1 2 3" specific grouped items. What I want now is to convert these to transactions and hopefully manage to do an apriori. I've tried the simple
as(i, "transaction")
which worked well when "data" was generated from a data.frame but now it produces an error:
Error in as(data, "transactions") :
no method or default for coercing “list” to “transactions”
I've seen that duplicate items can cause these problems, so I've eliminated those but the error remains.