summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-03-17 17:15:02 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-03-21 15:54:05 +0100
commit71cafa0472a15f2234e24d3c6d8019ebb38685b0 (patch)
tree9fd254a275a1e921113a6cc7727cb083d9901fc3 /gnu
parentb2cdb0271badbc1ac768fe2f8002a11380c70d77 (diff)
downloadguix-71cafa0472a15f2234e24d3c6d8019ebb38685b0.tar.gz
gnu: Add r-doparallel.
* gnu/packages/statistics.scm (r-doparallel): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 8116f50c2e..15c68238e2 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1745,6 +1745,29 @@ function, but doesn't require the evaluation of a function.  Using
 parallel.")
     (license license:asl2.0)))
 
+(define-public r-doparallel
+  (package
+    (name "r-doparallel")
+    (version "1.0.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "doParallel" version))
+       (sha256
+        (base32
+         "1mddx25l25pw9d0csnx2q203dbg5hbrhkr1f08kw0p02a1lln0kh"))))
+    (properties `((upstream-name . "doParallel")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-foreach" ,r-foreach)
+       ("r-iterators" ,r-iterators)))
+    (home-page "http://cran.r-project.org/web/packages/doParallel")
+    (synopsis "Foreach parallel adaptor for the 'parallel' package")
+    (description
+     "This package provides a parallel backend for the @code{%dopar%} function
+using the parallel package.")
+    (license license:gpl2+)))
+
 (define-public r-dt
   (package
     (name "r-dt")