It is not immediately apparent from this error message that I ran out of memory with R
Error: negative length vectors are not allowed
basically I loaded read depth information per genomic position (3 billion data points) into R, hoping it will work out. After googling around, it turns out that
- R Works on RAM
- Maximum length of an object is 2^31-1
Not sure if there's a solution out there ... still pretty noob in R ..
These didn't seem to offer help on my simple problem.