I am working on dataframe transformations and was working Arun and Ricardo on a previous post
Arun, suggested a brilliant solution ( matrix multiplication ) to achieve what i was trying to do.
That solution worked for a small data set like what i mentioned in the example, now i am running the same solution on a data frame which has the following sizes:
Total rows: 143345
Total Persons: 98461
Total Items : 30
Now, when i run the following command
A <- acast(Person~Item+BorS,data=df,fun.aggregate=length,drop=FALSE)
I get this error..
Error: segfault from C stack overflow
Is this because, i dont have enough processing/memory power. My machine has 4 GB RAM, 2.8 GHz i7 processor ( Macbook) ? How do we handle these type of cases ?