filematrix: File-Backed Matrix Class with Convenient Read and Write Access

Interface for working with large matrices stored in files, not in computer memory. Supports multiple non-character data types (double, integer, logical and raw) of various sizes (e.g. 8 and 4 byte real values). Access to parts of the matrix is done by indexing, exactly as with usual R matrices. Supports very large matrices. Tested on multi-terabyte matrices. Allows for more than 2^32 rows or columns. Allows for quick addition of extra columns to a filematrix. Cross-platform as the package has R code only.

Version: 1.3
Depends: methods, utils
Suggests: knitr, rmarkdown, RSQLite
Published: 2018-02-27
DOI: 10.32614/CRAN.package.filematrix
Author: Andrey A Shabalin ORCID iD [aut, cre]
Maintainer: Andrey A Shabalin <andrey.shabalin at>
License: LGPL-3
NeedsCompilation: no
CRAN checks: filematrix results


Reference manual: filematrix.pdf
Vignettes: 1 Filematrix overview
2 Best practices
3 Filematrix vs. bigmemory (packages)


Package source: filematrix_1.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): filematrix_1.3.tgz, r-oldrel (arm64): filematrix_1.3.tgz, r-release (x86_64): filematrix_1.3.tgz, r-oldrel (x86_64): filematrix_1.3.tgz
Old sources: filematrix archive

Reverse dependencies:

Reverse depends: ramwas
Reverse imports: autoFRK


Please use the canonical form to link to this page.