GNU bug report logs - #54790
[PATCH 0/3] Add r-copykat and dependencies

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Fri, 8 Apr 2022 14:59:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 54790 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 54790 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 1/3] gnu: Add r-paralleldist.
Date: Fri,  8 Apr 2022 16:59:52 +0200
* gnu/packages/cran.scm (r-paralleldist): New variable.
---
 gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index be77a57f28..b9ea1144f2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1074,6 +1074,39 @@ (define-public r-pacman
 functions which can speed up workflow.")
     (license license:gpl2)))
 
+(define-public r-paralleldist
+  (package
+    (name "r-paralleldist")
+    (version "0.2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "parallelDist" version))
+       (sha256
+        (base32 "01ly4hxwa64a0ya5gla8rvv72s9mcknsfznivjkh937pbjwb7iih"))))
+    (properties `((upstream-name . "parallelDist")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-rcpp r-rcpparmadillo r-rcppparallel))
+    (home-page "https://github.com/alexeckert/parallelDist")
+    (synopsis "Parallel Distance Matrix Computation using Multiple Threads")
+    (description
+     "This package provides a fast parallelized alternative to R's native
+'dist' function to calculate distance matrices for continuous, binary, and
+multi-dimensional input matrices, which supports a broad variety of 41
+predefined distance functions from the 'stats', 'proxy' and 'dtw' R packages,
+as well as user- defined functions written in C++.  For ease of use, the
+'parDist' function extends the signature of the 'dist' function and uses the
+same parameter naming conventions as distance methods of existing R packages.
+The package is mainly implemented in C++ and leverages the 'RcppParallel'
+package to parallelize the distance computations with the help of the
+'TinyThread' library.  Furthermore, the 'Armadillo' linear algebra library is
+used for optimized matrix operations during distance calculations.  The
+curiously recurring template pattern (CRTP) technique is applied to avoid
+virtual functions, which improves the Dynamic Time Warping calculations while
+the implementation stays flexible enough to support different DTW step
+patterns and normalization methods.")
+    (license license:gpl2+)))
+
 (define-public r-pheatmap
   (package
     (name "r-pheatmap")
-- 
2.34.0





This bug report was last modified 3 years and 40 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.