Learn R Programming

bigsparser: sparse matrix format with data on disk

Features

For now, only a few features are implemented:

  • convert a dgCMatrix or a dsCMatrix to an SFBM, a Sparse Filebacked Big Matrix

  • grow an SFBM using $add_columns() (similar to 'cbind' or 'bdiag')

  • compute the product and crossproduct of an SFBM with a vector

  • solve Ax=b, where A is a symmetric SFBM and b is a vector

  • access the subset of an SFBM as a dgCMatrix (matrix accessor, since v0.6.1)

A new compact format is available (since v0.5), which is useful when non-zero values in columns are contiguous (or almost).

Installation

# CRAN
install.packages("bigsparser")

# latest GitHub version
remotes::install_github("privefl/bigsparser")

Copy Link

Version

Install

install.packages('bigsparser')

Monthly Downloads

1,832

Version

0.7.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Florian Privé

Last Published

September 6th, 2024

Functions in bigsparser (0.7.3)

sp_prodVec

Products with a vector
SFBM_corr_compact-class

Class SFBM_corr_compact
SFBM_compact-class

Class SFBM_compact
SFBM-class

Class SFBM
[,SFBM,ANY,ANY,ANY-method

Accessor methods for class SFBM.
sp_solve_sym

Solver for symmetric SFBM
dim,SFBM-method

Dimension and type methods for class SFBM.
bigsparser-package

bigsparser: Sparse Matrix Format with Data on Disk