aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-08 23:16:36 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-08 23:31:56 +0100
commit94e46cabc1222b82f1cef091fd955b839f2493d7 (patch)
tree7b1a2bc0b7035230f2100ec1bf18c078a79a3e9e
parent3a563a410ab8791dfc2a51aae4cd79c1fce1458d (diff)
downloadgnu-guix-94e46cabc1222b82f1cef091fd955b839f2493d7.tar
gnu-guix-94e46cabc1222b82f1cef091fd955b839f2493d7.tar.gz
gnu: Add r-abind.
* gnu/packages/cran.scm (r-abind): New variable.
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c8a4216767..e7e49fd519 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3062,3 +3062,25 @@ data frame. The @code{sqldf} or @code{read.csv.sql} functions can also be
used to read filtered files into R even if the original files are larger than
R itself can handle.")
(license license:gpl2)))
+
+(define-public r-abind
+ (package
+ (name "r-abind")
+ (version "1.4-5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "abind" version))
+ (sha256
+ (base32
+ "0b1zd8jbnl6l292cr9rb50m09fy3ylxvzkpgi5lfb1nbzddcwfis"))))
+ (build-system r-build-system)
+ (home-page "http://cran.r-project.org/web/packages/abind/")
+ (synopsis "Combine multidimensional arrays")
+ (description
+ "This package provides tools to combine multidimensional arrays into a
+single array. This is a generalization of @code{cbind} and @code{rbind}. It
+works with vectors, matrices, and higher-dimensional arrays. It also provides
+the functions @code{adrop}, @code{asub}, and @code{afill} for manipulating,
+extracting and replacing data in arrays.")
+ (license license:lgpl2.0+)))