I have a bunch of numbers to load into R for further anaysis. The numbers are small, <128. But there're 4G of such numbers. I would like to load them into a vector. Could I specify certain bits a integer taken in R to reduce memory usage? Breaking down the data was the only choice?
The ff CRAN package allows you to create vectors with 2,4,8,16 and 32 bit integers (signed or unsigned).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With