This is what I get when I try to run the tmp code.
tmp <- edx %>%
Error: cannot allocate vector of size 68.7 Mb
97% of my memory usage is by RStudio.
If you don't mind could I please mail you my full code? Could you tell me if it runs?
I would truly appreciate the help.