Skip to content

parallelDist

0.2.7

Parallel Distance Matrix Computation using Multiple Threads

20packages depend
54.7Kdownloads / year
99.6%test coverage
9/13checks pass

Overview

About
Maintained by Alexander EckertFirst published 2017-06-069 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
4NOTE9OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 6.8 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 5.02
99.6%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 384 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

54.7K
CRAN downloads in the past year
Rank #1,975 · ~150/day · ~4.6K/mo
Daily download trend is not available in this view yet.
4.4K30 days
11.8K90 days
54.7K1 year
Compare downloads with other packages →
Also on1.1K r2u4 autocran8.3K conda_forge

Repository

Repository
55Stars
10Forks
8Open issues
3Open PRs
9Releases
64Commits
5Contributors
distance-computationscranmatricesrdata-science
License GPL-2.0 · 64 commits · Last activity 2025-09-27 · +1.9% stars, 30d

Stars over time

2025-01-12 · 512026-07-19 · 55

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/alexeckert/paralleldist on 2026-07-31.

Continuous integration (1)
GitHub Actions
Governance and community (1)
Funding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.0.2
Imports (2)
Enhances (0)
none

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (2)
Contributor · added in 0.2.3
Contributor · added in 0.2.3
Package Timeline

9 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.7Latest
    2025-09-27 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.6
    2022-02-04 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.4
    2018-12-12 · diff ↗
  • 0.2.3
    2018-12-12 · diff ↗
  • 0.2.2
    2018-09-24 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.1
    2017-12-05 · diff ↗
  • 0.2.0
    2017-09-27 · diff ↗
Show 3 earlier events
  • 0.1.1
    2017-06-07 · diff ↗
  • 0.1.0
    2017-06-06
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-06-06
Total releases
9 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.0.2
Download size
332 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy