summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-03-17 17:13:59 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-03-21 15:54:05 +0100
commit264df1a49d98b3108847d40999fd174ec202a870 (patch)
treee605578a5cb709d9393535e489fffa7960b9899b /gnu/packages
parent9128db2178ab29f665352b0a2b4494c1df4c1afe (diff)
downloadguix-264df1a49d98b3108847d40999fd174ec202a870.tar.gz
gnu: Add r-iterators.
* gnu/packages/statistics.scm (r-iterators): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/statistics.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 3d445332b8..217f3655b2 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1679,6 +1679,26 @@ matrices.  It includes Cholesky decomposition and backsolving as well as
 standard R subsetting and Kronecker products.")
     (license license:gpl2+)))
 
+(define-public r-iterators
+  (package
+    (name "r-iterators")
+    (version "1.0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "iterators" version))
+       (sha256
+        (base32
+         "1f057pabs7ss9h1n244can26qsi5n2k3salrdk0b0vkphlrs4kmf"))))
+    (build-system r-build-system)
+    (home-page "http://cran.r-project.org/web/packages/iterators")
+    (synopsis "Iterator construct for R")
+    (description
+     "This package provides support for iterators, which allow a programmer to
+traverse through all the elements of a vector, list, or other collection of
+data.")
+    (license license:asl2.0)))
+
 (define-public r-dt
   (package
     (name "r-dt")