jmatrix: Read from/Write to Disk Matrices with any Data Type in a Binary Format

A mainly instrumental package meant to allow other packages whose core is written in 'C++' to read, write and manipulate matrices in a binary format so that the memory used for them is no more than strictly needed. Its functionality is already inside 'parallelpam' and 'scellpam', so if you have installed any of these, you do not need to install 'jmatrix'. Using just the needed memory is not always true with 'R' matrices or vectors, since by default they are of double type. Trials like the 'float' package have been done, but to use them you have to coerce a matrix already loaded in 'R' memory to a float matrix, and then you can delete it. The problem comes when your computer has not memory enough to hold the matrix in the first place, so you are forced to load it by chunks. This is the problem this package tries to address (with partial success, but this is a difficult problem since 'R' is not a strictly typed language, which is anyway quite hard to get in an interpreted language). This package allows the creation and manipulation of full, sparse and symmetric matrices of any standard data type.

Version: 1.5.2
Imports: Rcpp (≥ 1.0.8), memuse (≥ 4.2.1)
LinkingTo: Rcpp
Suggests: knitr
Published: 2024-07-05
DOI: 10.32614/CRAN.package.jmatrix
Author: Juan Domingo ORCID iD [aut, cre], Guillermo Ayala ORCID iD [ctb], Spanish Ministry of Science and Innovation, MCIN/AEI <doi:10.13039/501100011033> [fnd]
Maintainer: Juan Domingo <Juan.Domingo at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: NEWS
CRAN checks: jmatrix results


Reference manual: jmatrix.pdf
Vignettes: jmatrix


Package source: jmatrix_1.5.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): jmatrix_1.5.2.tgz, r-oldrel (arm64): jmatrix_1.5.2.tgz, r-release (x86_64): jmatrix_1.5.2.tgz, r-oldrel (x86_64): jmatrix_1.5.2.tgz
Old sources: jmatrix archive


Please use the canonical form to link to this page.