Package: parallelDist 0.2.7

Alexander Eckert

parallelDist: Parallel Distance Matrix Computation using Multiple Threads

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.

Authors:Alexander Eckert [aut, cre], Lucas Godoy [ctb], Srikanth KS [ctb]

parallelDist_0.2.7.tar.gz
parallelDist_0.2.7.zip(r-4.7)parallelDist_0.2.7.zip(r-4.6)parallelDist_0.2.7.zip(r-4.5)
parallelDist_0.2.7.tgz(r-4.6-x86_64)parallelDist_0.2.7.tgz(r-4.6-arm64)parallelDist_0.2.7.tgz(r-4.5-x86_64)parallelDist_0.2.7.tgz(r-4.5-arm64)
parallelDist_0.2.7.tar.gz(r-4.7-arm64)parallelDist_0.2.7.tar.gz(r-4.7-x86_64)parallelDist_0.2.7.tar.gz(r-4.6-arm64)parallelDist_0.2.7.tar.gz(r-4.6-x86_64)
parallelDist_0.2.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
parallelDist/json (API)
NEWS

# Install 'parallelDist' in R:
install.packages('parallelDist', repos = c('https://alexeckert.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/alexeckert/paralleldist/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

data-sciencedistance-computationsmatricesopenblascpp

10.65 score 53 stars 18 packages 514 scripts 3.8k downloads 4 mentions 2 exports 3 dependencies

Last updated from:12ad145484. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK159
linux-devel-x86_64OK171
source / vignettesOK228
linux-release-arm64OK161
linux-release-x86_64OK164
macos-release-arm64OK266
macos-release-x86_64OK406
macos-oldrel-arm64OK214
macos-oldrel-x86_64OK297
windows-develOK156
windows-releaseOK177
windows-oldrelOK180
wasm-releaseOK124

Exports:parallelDistparDist

Dependencies:RcppRcppArmadilloRcppParallel

parallelDist vignette

Rendered fromparallelDist.Rnwusingutils::Sweaveon May 07 2026.

Last update: 2025-09-20
Started: 2017-06-06