summary refs log tree commit diff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-23 17:26:50 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-01-07 17:18:16 +0100
commitd706257b5b8698e3a18f2b7bff1d23e1bb1c4e8c (patch)
tree9e04338e4163c2fc4a747428cf5461d611245d52 /gnu/packages/statistics.scm
parentfb25d8803f53d427b4a87bb1f0f5881bdfd93ee7 (diff)
downloadguix-d706257b5b8698e3a18f2b7bff1d23e1bb1c4e8c.tar.gz
gnu: Add SparseM.
* gnu/packages/statistics.scm (r-sparsem): New variable.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm21
1 files changed, 21 insertions, 0 deletions
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 @@ such as @code{clusterCall} and @code{clusterApply} to execute R code on the
 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+)))
+