Split up in segments, out of memory R-error