Skip to content

spam

2.11-4Package record

SPArse Matrix

40packages dependsuggested by 10
1.1Mdownloads / year
71.7%test coverage
5/13flavors OK

Overview

About

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.

Install

Health

CRAN checks
8NOTE5OK
Check messages
NOTEfor differences from example reference outputr-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Comparing ‘spam-Ex.Rout’ to ‘spam-Ex.Rout.save’:
78,82c78,82
<  [7] "cummax"   "cummin"   "cumprod"  "cumsum"   "exp"      "expm1"   
< [13] "log"      "log10"    "log2"     "log1p"    "cos"      "cosh"    
< [19] "sin"      "sinh"     "tan"      "tanh"     "acos"     "acosh"   
< [25] "asin"     "asinh"    "atan"     "atanh"    "cospi"    "sinpi"   
< [31] "tanpi"    "gamma"    "lgamma"   "digamma"  "trigamma"
---
>  [7] "cummax"   "cummin"   "cumprod"  "cumsum"   "cumvar"   "exp"     
> [13] "expm1"    "log"      "log10"    "log2"     "log1p"    "cos"     
> [19] "cosh"     "sin"      "sinh"     "tan"      "tanh"     "acos"    
> [25] "acosh"    "asin"     "asinh"    "atan"     "atanh"    "cospi"   
> [31] "sinpi"    "tanpi"    "gamma"    "lgamma"   "digamma"  "trigamma"

r-release-windows-x86_64

Comparing 'spam-Ex.Rout' to 'spam-Ex.Rout.save':
78,82c78,82
<  [7] "cummax"   "cummin"   "cumprod"  "cumsum"   "exp"      "expm1"   
< [13] "log"      "log10"    "log2"     "log1p"    "cos"      "cosh"    
< [19] "sin"      "sinh"     "tan"      "tanh"     "acos"     "acosh"   
< [25] "asin"     "asinh"    "atan"     "atanh"    "cospi"    "sinpi"   
< [31] "tanpi"    "gamma"    "lgamma"   "digamma"  "trigamma"
---
>  [7] "cummax"   "cummin"   "cumprod"  "cumsum"   "cumvar"   "exp"     
> [13] "expm1"    "log"      "log10"    "log2"     "log1p"    "cos"     
> [19] "cosh"     "sin"      "sinh"     "tan"      "tanh"     "acos"    
> [25] "acosh"    "asin"     "asinh"    "atan"     "atanh"    "cospi"   
> [31] "sinpi"    "tanpi"    "gamma"    "lgamma"   "digamma"  "trigamma"
NOTEdifferences from ‘spam-Ex.Rout’ to ‘spam-Ex.Rout.save’r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
78,82c78,82
<  [7] "cummax"   "cummin"   "cumprod"  "cumsum"   "exp"      "expm1"   
< [13] "log"      "log10"    "log2"     "log1p"    "cos"      "cosh"    
< [19] "sin"      "sinh"     "tan"      "tanh"     "acos"     "acosh"   
< [25] "asin"     "asinh"    "atan"     "atanh"    "cospi"    "sinpi"   
< [31] "tanpi"    "gamma"    "lgamma"   "digamma"  "trigamma"
---
>  [7] "cummax"   "cummin"   "cumprod"  "cumsum"   "cumvar"   "exp"     
> [13] "expm1"    "log"      "log10"    "log2"     "log1p"    "cos"     
> [19] "cosh"     "sin"      "sinh"     "tan"      "tanh"     "acos"    
> [25] "acosh"    "asin"     "asinh"    "atan"     "atanh"    "cospi"   
> [31] "sinpi"    "tanpi"    "gamma"    "lgamma"   "digamma"  "trigamma"

CRAN check page ↗

Slowest check: 5.2 min · r-devel-windows-x86_64
Status changes
  • NOTE5 OK, 8 NOTENow
  • NOTE13 OK, 1 NOTE2026-04-23
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.11-4
READMEYes · 137 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · does not mention 2.11-4Citation fileYes · cites a publicationWebsiteYes
Cites a JSS article
Help pages
73 (2 internal)includes a package overview page
Examples that run
86%56 run in a plain check · 8 never run · 1 hold no code
Exported functions with examples
93%
Documented parameters
92%
Return-value docs
77%
Help pages citing references
77%

Also includes 7 demo scripts (run with demo())

Downloads

1.1M
CRAN downloads in the past year
Rank #367 · ~3.1K/day · ~94.9K/mo
Daily download trend is not available in this view yet.
83.7K30 days
250.1K90 days
1.1M1 year
Compare downloads with other packages →
Also on34.4K r2u255 autocran179.5K conda_forge815 bioconda1.2K c2d4u

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
47Commits
4Commit identities
47 commits · Last activity 2026-03-09
Responsiveness
not measured
PracticesBeta

Repository git.math.uzh.ch/reinhard.furrer/spam is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing spam adds 2 packages (2 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, dotCall64 20 KB.

Depends (1)
R >= 4.0
Imports (4)
dotCall64gridmethodsRcpp
LinkingTo (1)
Enhances (0)
none

Datasets

People & History

People (15)
Author, Maintainer since 0.11 (2007)
Author · added in 2.1-4
Author · added in 0.41-0
Contributor · added in 2.2-0
ARPACK
Contributor · added in 2.11-0
Contributor
ARPACK
Contributor
Fortran Cholesky routines
Contributor · added in 2.1-0
Contributor · added in 2.2-0
ARPACK
Contributor
Fortran Cholesky routines
Contributor · added in 2.1-0
Show 4 more contributorsHide 4 contributors
Contributor
Fortran Cholesky routines
Contributor
Fortran Cholesky routines
Contributor
ARPACK
Contributor · added in 2.1-1
SPARSEKIT http://www-users.cs.umn.edu/~saad/software/SPARSKIT/
Listed in earlier versions (6)
Show 6 peopleHide 6 people
Alan D.
no longer listed · 2.1-1 to 2.11-4
Esmond G.
no longer listed · 2.1-1 to 2.11-4
Barry W.
no longer listed · 2.1-1 to 2.11-4
Joseph W.H.
no longer listed · 2.1-1 to 2.11-4
Lehoucq B.
no longer listed · 2.2-0 to 2.11-4
Sorensen C.
no longer listed · 2.2-0 to 2.11-4
Releases (54)

Pick two releases to compare their code metrics.

  • 2.11-4Latest
    record
    2026-05-29 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.11-3
    record
    2026-01-08 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.11-1
    record
    2025-01-21 · diff ↗
  • 2.11-0
    record
    2024-10-04 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.10-0
    record
    2023-10-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.9-1
    record
    2022-08-07 · diff ↗
  • 2.9-0
    record
    2022-07-11 · diff ↗ ·
    added 9 exports
    rmvnorm.cond, rmvt, rmvt.spam, rgrf, cov.finnmat, cov.mat12, cov.mat32, cov.mat52, neg2loglikelihood.nomean
  • R
    R 4.2.0 released · 2022-04-22
  • 2.8-0
    record
    2022-01-06 · diff ↗ ·
    added 1 export
    rmvnorm.conditional
  • 2.7-0
    record
    2021-06-26 · diff ↗ ·
    added 2 exports
    rmvnorm, cor.sph
  • R
    R 4.1.0 released · 2021-05-18
  • 2.6-0
    record
    2020-12-14 · diff ↗ ·
    added 2 exports
    gmult, print_nnzpos
Show 66 earlier eventsHide 66 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 2.5-1
    record
    2019-12-12 · diff ↗
  • 2.5-0
    record
    2019-12-06 · diff ↗
  • unarchivedReturned to CRAN
    2019-11-06
  • unarchivedReturned to CRAN
    2019-11-02
  • 2.4-0
    record
    2019-11-02 · diff ↗
  • 2.3-0.2
    record
    2019-10-28 · diff ↗
  • orphanedOrphaned by its maintainer
    2019-10-26
    installation warnings were not corrected in time Misuse of 'call intpr', detected by gfortran 10
  • 2.3-0.1
    record
    2019-10-26 · diff ↗
  • 2.3-0
    record
    2019-09-14 · diff ↗ ·
    removed 4 exports
    todo, spam.history, spam.options, spam.getOption
    added 1 export
    spam_random
  • R
    R 3.6.0 released · 2019-04-26
  • 2.2-2
    record
    2019-03-08 · diff ↗
  • 2.2-1
    record
    2018-12-20 · diff ↗
  • 2.2-0
    record
    2018-06-19 · diff ↗ ·
    added 1 export
    eigen_approx
  • R
    R 3.5.0 released · 2018-04-23
  • 2.1-4
    record
    2018-04-12 · diff ↗
  • 2.1-3
    record
    2018-03-28 · diff ↗ ·
    added 1 export
    det
  • 2.1-2
    record
    2017-12-22 · diff ↗
  • 2.1-1
    record
    2017-07-03 · diff ↗
  • 2.1-0
    record
    2017-07-01 · diff ↗ ·
    added 1 export
    validate_spam
  • R
    R 3.4.0 released · 2017-04-21
  • 1.4-0
    record
    2016-08-30 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.3-0
    record
    2015-10-29 · diff ↗
  • 1.2-1
    record
    2015-09-30 · diff ↗ ·
    removed 2 exports
    subset.rows.spam, as.matrix.csr.spam
    added 1 export
    spam_diag
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0-1
    record
    2014-09-09 · diff ↗ ·
    removed 2 exports
    dcheck, icheck
    added 12 exports
    spam_rdist, spam_rdist.earth, as.vector.spam, pad<-.spam, var.spam, eigen.spam, crossprod.spam, tcrossprod.spam, rowpointers<-, entries<-, colindices<-, dimension<-
  • R
    R 3.1.0 released · 2014-04-10
  • 0.41-0
    record
    2014-02-26 · diff ↗
  • 0.40-0
    record
    2013-09-12 · diff ↗
  • 0.30-1
    record
    2013-08-25 · diff ↗ ·
    removed 2 exports
    make.prec, backsolve
    added 16 exports
    precmat, precmat.RWn, precmat.GMRFreglat, covmat, cov.exp, cov.sph, cov.nug, cov.wu1, cov.wu2, cov.wu3, cov.wend1, cov.wend2, cov.mat, germany.plot, grid_trace2, grid_zoom
  • 0.29-3
    record
    2013-04-24 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.29-2
    record
    2012-08-17 · diff ↗
  • 0.29-1
    record
    2012-05-05 · diff ↗
  • 0.29-0
    record
    2012-05-01 · diff ↗ ·
    removed 12 exports
    log, gamma, lgamma, round, signif, max, min, range, prod, sum, any, all
    added 18 exports
    rmvnorm.const, rmvnorm.canonical.const, rmvnorm.prec.const, precmat.RW1, precmat.RW2, precmat.season, precmat.IGMRFreglat, precmat.IGMRFirreglat, rowSums.spam, colSums.spam, rowMeans.spam, colMeans.spam, head.spam, tail.spam, chol2inv.spam, subset.spam, subset.rows.spam, backsolve
  • R
    R 2.15.0 released · 2012-03-30
  • 0.28-0
    record
    2012-01-12 · diff ↗ ·
    added 1 export
    cleanup
  • R
    R 2.14.0 released · 2011-10-31
  • 0.27-0
    record
    2011-08-18 · diff ↗ ·
    added 4 exports
    diff.spam, circulant.spam, toeplitz.spam, make.prec
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 0.23-0
    record
    2010-09-02 · diff ↗
  • 0.22-0
    record
    2010-06-09 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 0.21-0
    record
    2010-04-20 · diff ↗ ·
    removed 1 export
    adiag.spam
    added 10 exports
    mle.spam, mle.nomean.spam, neg2loglikelihood.spam, mle, mle.nomean, neg2loglikelihood, bdiag.spam, bandwidth, powerboost, permutation.spam
  • 0.20-3
    record
    2010-01-13 · diff ↗
  • 0.20-2
    record
    2009-12-16 · diff ↗ ·
    removed 1 export
    .spam.matmul.mat
    added 2 exports
    map.landkreis, adjacency.landkreis
  • R
    R 2.10.0 released · 2009-10-26
  • 0.15-5
    record
    2009-09-18 · diff ↗ ·
    added 6 exports
    apply.spam, rmvnorm.spam, rmvnorm.canonical, rmvnorm.prec, adiag.spam, .spam.matmul.mat
  • R
    R 2.9.0 released · 2009-04-17
  • 0.15-4
    record
    2009-04-15 · diff ↗
  • 0.15-3
    record
    2009-02-21 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • 0.15-2
    record
    2008-09-12 · diff ↗
  • 0.15-1
    record
    2008-09-06 · diff ↗ ·
    removed 1 export
    spam.spam
    added 4 exports
    as.spam.dist, as.spam.list, isSymmetric.spam, all.equal.spam
  • 0.15-0
    record
    2008-06-15 · diff ↗ ·
    added 20 exports
    spam.version, spam.Version, nearest.dist, spam.spam, spam.list, diag<-.spam, dim<-.spam, kronecker.default, kronecker.spam, update.spam.chol.NgPeyton, norm.spam, triplet, as.spam.matrix.csr, as.matrix.csr.spam, as.dgRMatrix.spam, as.dgCMatrix.spam, as.spam.dgRMatrix, as.spam.dgCMatrix, read.MM, read.HB
  • 0.13-3
    record
    2008-04-22 · diff ↗
  • R
    R 2.7.0 released · 2008-04-22
  • 0.13-2
    record
    2008-01-05 · diff ↗ ·
    removed 1 export
    .Spam
    added 2 exports
    spam.options, spam.getOption
  • 0.13-1
    record
    2007-12-05 · diff ↗
  • 0.13
    record
    2007-11-23 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • 0.12
    record
    2007-09-30 · diff ↗ ·
    added 11 exports
    dcheck, icheck, validspamobject, as.spam.chol.NgPeyton, chol.spam, solve.spam, forwardsolve.spam, backsolve.spam, plot.spam, display.spam, image.spam
  • 0.11
    record
    2007-09-08
  • R
    R 2.5.0 released · 2007-04-24

Package metadata

First published
2007-09-08
Total releases
54 / 19 yrs
License
LGPL-2 | BSD_3_clause + file LICENSE OSI · relicensed from LGPL-2 in 2.2-0
Minimum R
≥ 4.0
Bundled data
216 KB / 5 files
Download size
3.1 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("spam")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v036.i10, 10.18637/jss.v063.c01, 10.1016/j.cageo.2016.11.015.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spam version 2.11-4 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy