spam: SPArse Matrix

Set of functions for sparse matrix algebra. Differences with other sparse matrix packages are: (1) we only support (essentially) one sparse matrix format, (2) based on transparent and simple structure(s), (3) tailored for MCMC calculations within G(M)RF. (4) and it is fast and scalable (with the extension package spam64). Documentation about 'spam' is provided by vignettes included in this package, see also Furrer and Sain (2010) <doi:10.18637/jss.v036.i10>; see 'citation("spam")' for details.

Version: 2.10-0
Depends: R (≥ 3.5)
Imports: dotCall64, grid, methods, Rcpp (≥
LinkingTo: Rcpp
Suggests: spam64, fields, Matrix, testthat, R.rsp, truncdist, knitr, rmarkdown
Published: 2023-10-23
DOI: 10.32614/CRAN.package.spam
Author: Reinhard Furrer ORCID iD [aut, cre], Florian Gerber ORCID iD [aut], Roman Flury ORCID iD [aut], Daniel Gerber [ctb], Kaspar Moesinger [ctb], Cincera Annina [ctb], Youcef Saad [ctb] (SPARSEKIT, Esmond G. Ng [ctb] (Fortran Cholesky routines), Barry W. Peyton [ctb] (Fortran Cholesky routines), Joseph W.H. Liu [ctb] (Fortran Cholesky routines), Alan D. George [ctb] (Fortran Cholesky routines), Lehoucq B. Rich [ctb] (ARPACK), Maschhoff Kristi [ctb] (ARPACK), Sorensen C. Danny [ctb] (ARPACK), Yang Chao [ctb] (ARPACK)
Maintainer: Reinhard Furrer <reinhard.furrer at>
License: LGPL-2 | BSD_3_clause + file LICENSE
NeedsCompilation: yes
Citation: spam citation info
Materials: README NEWS
In views: Distributions
CRAN checks: spam results


Reference manual: spam.pdf
Vignettes: JSS - Areal count data
'spam', a SPArse Matrix package


Package source: spam_2.10-0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): spam_2.10-0.tgz, r-oldrel (arm64): spam_2.10-0.tgz, r-release (x86_64): spam_2.10-0.tgz, r-oldrel (x86_64): spam_2.10-0.tgz
Old sources: spam archive

Reverse dependencies:

Reverse depends: autoFRK, copCAR, fields, gamlss.spatial, LatticeKrig, spThin
Reverse imports: ammiBayes, CARBayes, CARBayesST, CollocInfer, demu, earlywarnings, GeneralizedWendland, GeoModels, GrabSVG, growfunctions, JOPS, LMMsolver, mvMORPH, nat.nblast, npsp, OCNet, OptimaRegion, rivnet, robin, scBSP, SeuratObject, sim2Dpredictr, sklarsomega, sparseinv, SpATS, splm, statgenHTP, statgenMPP, varycoef, vectorwavelet
Reverse suggests: dotCall64, gapfill, gear, krippendorffsalpha, optimParallel, spam64, spatialreg, spdep, tipsae
Reverse enhances: slam


Please use the canonical form to link to this page.