From d706257b5b8698e3a18f2b7bff1d23e1bb1c4e8c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 23 Dec 2015 17:26:50 +0100 Subject: [PATCH] gnu: Add SparseM. * gnu/packages/statistics.scm (r-sparsem): New variable. --- gnu/packages/statistics.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 38bd649dd6..ed1b11819d 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1664,3 +1664,24 @@ (define-public r-snow worker processes and collect and return the results on the master.") (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+))) +