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

CRAN

287

Last 30 days

14165th

675

Last 90 days

2.7K

Last year

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

r2u CRAN

24

Last 30 days

114

Last 90 days

448

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

2

Last 7 days

17

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
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 History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for code/documentation mismatches

Warning in file(open = "w+") :
  cannot open file '/tmp/Rtmp75cO8T/Rf2182e3695b9d90': No space left on device
Error in file(open = "w+") : cannot open the connection
Calls: <Anonymous> -> .load_package_quietly -> .try_quietly -> file
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 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
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/jmatrix.Rcheck/00install.out' for details.
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
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

6 tracked
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