gnu: Add SparseM.

* gnu/packages/statistics.scm (r-sparsem): New variable.
This commit is contained in:
Ricardo Wurmus 2015-12-23 17:26:50 +01:00
parent fb25d8803f
commit d706257b5b

View file

@ -1664,3 +1664,24 @@ (define-public r-snow
worker processes and collect and return the results on the master.") worker processes and collect and return the results on the master.")
(license (list license:gpl2+ license:gpl3+)))) (license (list license:gpl2+ license:gpl3+))))
(define-public r-sparsem
(package
(name "r-sparsem")
(version "1.7")
(source (origin
(method url-fetch)
(uri (cran-uri "SparseM" version))
(sha256
(base32
"0s9kab5khk7daqf6nfp1wm1qnhkssnnwnymisfwyk3kz4q5maqfz"))))
(properties
`((upstream-name . "SparseM")))
(build-system r-build-system)
(home-page "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html")
(synopsis "Sparse linear algebra")
(description
"This package provides some basic linear algebra functionality for sparse
matrices. It includes Cholesky decomposition and backsolving as well as
standard R subsetting and Kronecker products.")
(license license:gpl2+)))