Skip to content

parallelDist

0.2.7Package record

Parallel Distance Matrix Computation using Multiple Threads

9packages dependsuggested by 11
54.3Kdownloads / year
99.6%test coverage
8/13flavors OK

Overview

About

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.

Changes in 0.2.7
  • Removed C++11 dependency to support newer Armadillo versions

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  parallelDist/tests/testthat/testMatrixListDTWDistances.R (.Dim: 8)
  parallelDist/inst/doc/parallelDist.R (.Label: 1, .Names: 1)
'.Dim' should be changed to 'dim'.
'.Label' should be changed to 'levels'.
'.Names' should be changed to 'names'.

CRAN check page ↗

Slowest check: 6.8 min · r-oldrel-macos-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.7
READMEYes · 384 wordsVignettesYes · 1 · dynamicNEWSYes · mentions 0.2.7Citation fileNoWebsiteYes
Help pages
1
Examples that run
0%1 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

54.3K
CRAN downloads in the past year
Rank #1,596 · ~149/day · ~4.5K/mo
Daily download trend is not available in this view yet.
4.5K30 days
14.5K90 days
54.3K1 year
Compare downloads with other packages →
Also on1.7K r2u5 autocran8.9K conda_forge

Repository

54Stars
10Forks
8Open issues
3Open PRs
9Releases
64Commits
5Commit identities
distance-computationscranmatricesrdata-science
License file reads as GPL-2.0 · 64 commits · Last activity 2025-09-27 · -1.8% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
76%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-01-12 · 512026-10-03 · 54
PracticesBeta

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

Checks run against github.com/alexeckert/paralleldist on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Funding

Funding links: GitHub Sponsors, Ko-fi

The repository owner accepts GitHub Sponsors

Coverage (1)
Coverage reporting
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing parallelDist adds 3 packages (3 with compiled code, 3.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB, RcppParallel 744 KB.

Depends (1)
R >= 3.0.2
Imports (2)
Enhances (0)
none
Reverse dependencies
9direct
1indirect
Imports 9
Suggested by 11
Show all 20 packagesHide all 20 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 0.1.0 (2017)
Contributor · added in 0.2.3
Contributor · added in 0.2.3
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.7Latest
    record
    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
    record
    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
    record
    2018-12-12 · diff ↗
  • 0.2.3
    record
    2018-12-12 · diff ↗
  • 0.2.2
    record
    2018-09-24 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.1
    record
    2017-12-05 · diff ↗
  • 0.2.0
    record
    2017-09-27 · diff ↗
Show 3 earlier eventsHide 3 earlier events

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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("parallelDist")
Eckert, A., Godoy, L., & KS, S. (2025). parallelDist: Parallel Distance Matrix Computation using Multiple Threads (Version 0.2.7) [Computer software]. https://doi.org/10.32614/CRAN.package.parallelDist

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for parallelDist version 0.2.7 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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