CRAN/E | jmatrix

jmatrix

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

Installation

About

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.

Key Metrics

Version 1.5
Published 2023-10-08 342 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks jmatrix results

Downloads

Yesterday 7 0%
Last 7 days 64 +8%
Last 30 days 282 -16%
Last 90 days 1.216 -39%
Last 365 days 6.390 +191%

Maintainer

Maintainer

Juan Domingo

Authors

Juan Domingo

aut / cre

Guillermo Ayala

ctb

Spanish Ministry of Science
Innovation
MCIN/AEI <doi:10.13039/501100011033>

fnd

Material

NEWS
Reference manual
Package source

Vignettes

jmatrix

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

jmatrix archive

Imports

Rcpp ≥ 1.0.8
memuse ≥ 4.2.1

Suggests

knitr

LinkingTo

Rcpp