From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yHW7GhdQUGIdhAAAgWs5BA (envelope-from ) for ; Fri, 08 Apr 2022 17:09:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kEUcGBdQUGKSSQEA9RJhRA (envelope-from ) for ; Fri, 08 Apr 2022 17:09:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F38273664D for ; Fri, 8 Apr 2022 17:09:10 +0200 (CEST) Received: from localhost ([::1]:60050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncqEX-0007ch-LC for larch@yhetil.org; Fri, 08 Apr 2022 11:09:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncq6g-0008TJ-Ch for guix-patches@gnu.org; Fri, 08 Apr 2022 11:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncq6f-0001Wr-Mg for guix-patches@gnu.org; Fri, 08 Apr 2022 11:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncq6f-0006Xh-LN for guix-patches@gnu.org; Fri, 08 Apr 2022 11:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54790] [PATCH 1/3] gnu: Add r-paralleldist. References: <20220408145829.3344728-1-zimon.toutoune@gmail.com> In-Reply-To: <20220408145829.3344728-1-zimon.toutoune@gmail.com> Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Apr 2022 15:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54790 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54790@debbugs.gnu.org Cc: zimoun Received: via spool by 54790-submit@debbugs.gnu.org id=B54790.164943001225063 (code B ref 54790); Fri, 08 Apr 2022 15:01:01 +0000 Received: (at 54790) by debbugs.gnu.org; 8 Apr 2022 15:00:12 +0000 Received: from localhost ([127.0.0.1]:35553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncq5r-0006W9-LN for submit@debbugs.gnu.org; Fri, 08 Apr 2022 11:00:11 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:42922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncq5p-0006Ug-Hw for 54790@debbugs.gnu.org; Fri, 08 Apr 2022 11:00:10 -0400 Received: by mail-wr1-f51.google.com with SMTP id r13so13257688wrr.9 for <54790@debbugs.gnu.org>; Fri, 08 Apr 2022 08:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yzSxJllHckq113wn6zoibfSTGdkE/qY7tXbbvW9Qsnw=; b=mXr9lyUTjsHrVjxNEa1R+7M9tNBNSy+RM6/jp1f3x8o9filazchHzkePupTyHpPu0W Atz4WUYL1epCgL6IohjwvO0vHob4n73oZAE8pkctZfD34Ss/oUNDsPHVTlfoLzy9i0R4 YqekfeCs5xm+aAc7Ex9F4KjcW8/4esFfCjqSkBjp3ptQOgMr1JTvWIM9/fAhJTv3ovpz +TI9WSauZN6U/wS3nALGT3g5a4DRFoZ5MPA91cwzYPdVFt6rg+Wfk4r7rZLodAuEY8bm fNX8jARx8UcoZM34MESnPQyn43TgURwP+IIPuSPcofcsHW3DsoMvwmJMKXvF5NxcD2/m OzTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yzSxJllHckq113wn6zoibfSTGdkE/qY7tXbbvW9Qsnw=; b=DY8U5QZJca7S+Rg5aCB9GaBkAtwLSbnmobE0LX/XUqv4s68IWRWYMeph39x80/5aZs bo8SArE42ZuuxwiiNYRu4t0MAYy8LYxfy4/UzQx1DLDu7FkqHQH6tvcy44ndHB8CuIN8 WI7o+WnSChSO6bPNxqjG3ai8slfxC50y8YJe5PKWbYGwONsHgxSFXMpQDRXUbN9yR3TJ a8opoWTk7rTPjfuTlww7p/vWTDW1JEJMicc1yS7Hk1RvYVhZZE5P86ZkgeDI4KZVMKVZ dYWQIQ5JZ15AzMQKaw5BOqJMKvIzTTXWN+xiXTQFVhiHxo3g7fPIcx1rx3rDfynLvS4d qNvQ== X-Gm-Message-State: AOAM533oVZnnwJK1NOqFlpm0DrG1k55G6QqzN77LLai8n/osF6CMpvFN onPkd0aCDpEoKQU6wV3RghKHQPpk/x8= X-Google-Smtp-Source: ABdhPJxfLkEXx61f5VHCQXbPtHzpveQ2o0oc8ENxjWi637MqTjtCZe8sCZ31bZnkkXNEK22+CzDDBg== X-Received: by 2002:a05:6000:1f9a:b0:207:9ad9:e300 with SMTP id bw26-20020a0560001f9a00b002079ad9e300mr1410346wrb.562.1649430003494; Fri, 08 Apr 2022 08:00:03 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id t185-20020a1c46c2000000b0038e7092025bsm10388554wma.20.2022.04.08.08.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 08:00:02 -0700 (PDT) From: zimoun Date: Fri, 8 Apr 2022 16:59:52 +0200 Message-Id: <20220408145954.3345224-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649430551; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yzSxJllHckq113wn6zoibfSTGdkE/qY7tXbbvW9Qsnw=; b=b7ygjp5Bk9E8/3Myg68NeI/yA2tsgeLetDdvddwYCv9i+S/tfLR7CRr3jV1NPXoBQxgy7Z UhUR7LBVzrBLSfLYmoz1i8w6pmYcU8OafrVRmDSQc5UGTSv2tC9e/XnObKGax15Z67PBqE JCRs5WS2BB6h7GJ+v45CF7me0RBQJK7X47K/zz+UCURTh1KyXQryPh+0OTUzRz6wmPUntC 0AA6oPmocam8IDj6ezFfAAqx6/bw/rHw+k3uQ8DwpgYS9X2evXLK1g5gGkorYH0LwgsMhc YBfWi/kAvnhNjiVjRXRiLHUadoitzl0T02Rpz8Q9iRjOK0WAtddnAd/0uu20SQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649430551; a=rsa-sha256; cv=none; b=OmzQ7gg2Dpuwr35H+tiUe5S2BAA5i5VztC9ZFVsoWRScbqDagxTm+80rc4aqA1AI3izNWZ gNzS2y9vxwiHmAefM+f9G6dQv/hrcfi0dij8mYbTJsZCq1dPcxCUlbCsKwqy4v1zHIlwTT GjMi6Fdmq32Cplb2XmZKVVEvQBm6Vw/HtUoM3eLmPKYufxwUGXmVweFPcVIGFqfgJqub// CaZfaV+8LKXocH8RmaP7DFGEcWYVNLVpQII/9T0h89xmXEwA92TfmU1qXNnmoLdBSgEXp6 Ha3Z8u4qKzd2IEKEYWasDSktkqG2e1icuaLng/mZ3QB5f9X0FiGx4UvDuQS5Cw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mXr9lyUT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mXr9lyUT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F38273664D X-Spam-Score: 5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: RG/vtseBax2U * 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