Can I indicate specific bits an integer taken in R?

I have a bunch of numbers to load into R for further analysis. The numbers are small, <128. But there are 4G of such numbers. I would like to load them into a vector. Can I specify specific bits with an integer taken in R to reduce memory usage? Was the data gap the only choice?

+5
source share
1 answer

ff CRAN package allows you to create vectors with 2,4,8,16 and 32-bit integers (signed or unsigned).

+1
source

All Articles