Error: vector memory exhausted (limit reached?)
https://r.789695.n4.nabble.com/R-3-5-0-vector-memory-exhausted-error-on-readBin-td4750237.html
https://stackoverflow.com/questions/51295402/r-on-macos-error-vector-memory-exhausted-limit-reached
|➜ touch ~/.Renviron |➜ open .Renviron
R_MAX_VSIZE=100Gb
Note: This limit includes both physical and virtual memory;
so setting _MAX_VSIZE=16Gb on a machine with 16Gb of physical memory may not prevent this error.
You may have to play with this parameter, depending on the specs of your machine