Hi Andres,
I get a message:
Warning message:
'memory.limit()' is Windows-specific
Do you think it's simply a warning as a consequence of the particular script, but the routine will actually still run in large applications?
The problem is, I tried the procedure on a large sample (10,000 obvs), and it basically terminated the sessions; so I tried it on a small sample. And with the small sample, I can obtain the output. Yet, the warning message appears.