Skip to content

jmatrix

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

v1.5.2 · Jul 5, 2024 · GPL (>= 2)

Description

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.

Downloads

291

Last 30 days

14123rd

715

Last 90 days

3K

Last year

Trend: +29.9% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is 12.8Mb
  sub-directories of 1Mb or more:
    libs  12.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 13.0Mb
  sub-directories of 1Mb or more:
    libs  12.7Mb

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 12.8Mb
  sub-directories of 1Mb or more:
    libs  12.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 13.0Mb
  sub-directories of 1Mb or more:
    libs  12.7Mb

Dependency Network

Dependencies Reverse dependencies Rcpp memuse jmatrix

Version History

new 1.5.2 Mar 10, 2026
updated 1.5.2 ← 1.5 diff Jul 5, 2024
updated 1.5 ← 1.4 diff Oct 7, 2023
updated 1.4 ← 1.1 diff Jun 21, 2023
updated 1.1 ← 1.0 diff Nov 15, 2022
new 1.0 Oct 31, 2022