bigsnpr

Efficient analysis of large-scale matrices with two R packages: bigstatsr and bigsnpr

R package {bigstatsr} provides a special class of matrix whose data is stored on the disk instead of the RAM, but you can still access the data almost as if it were in memory.