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.

Getting started

Package details

AuthorJuan Domingo [aut, cre] (<https://orcid.org/0000-0003-4728-6256>), Guillermo Ayala [ctb] (<https://orcid.org/0000-0002-6231-2865>), Spanish Ministry of Science and Innovation, MCIN/AEI <doi:10.13039/501100011033> [fnd]
MaintainerJuan Domingo <Juan.Domingo@uv.es>
LicenseGPL (>= 2)
Version1.5
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("jmatrix")

Try the jmatrix package in your browser

Any scripts or data that you put into this service are public.

jmatrix documentation built on Oct. 9, 2023, 1:06 a.m.