Skip to content

pdist

1.2.1

Partitioned Distance Function

17packages depend
70.3Kdownloads / year
test coverage
9/13checks pass

Overview

About
Maintained by Jeffrey WongFirst published 2011-06-194 releasesCRAN page ↗GitHub ↗

Computes the euclidean distance between rows of a matrix X and rows of another matrix Y. Previously, this could be done by binding the two matrices together and calling 'dist', but this creates unnecessary computation by computing the distances between a row of X and another row of X, and likewise for Y. pdist strictly computes distances across the two matrices, not within the same matrix, making computations significantly faster for certain use cases.

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-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
Slowest check: 1.9 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-03-10
    10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

70.3K
CRAN downloads in the past year
Rank #2,223 · ~193/day · ~5.9K/mo
Daily download trend is not available in this view yet.
2.4K30 days
8.5K90 days
70.3K1 year
Compare downloads with other packages →
Also on657 r2u17 autocran5K conda_forge79 c2d4u

Repository

Repository
8Stars
3Forks
2Open issues
0Open PRs
0Releases
31Commits
2Contributors
31 commits · Last activity 2014-04-09

Stars over time

2025-06-28 · 82026-07-07 · 8

Repository practices

Upstream repositoryBeta

Checks run against github.com/jeffwong/pdist on 2026-08-23.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (1)
methods
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (1)
no longer listed · 1.0 to 1.2.1
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 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
  • 1.2.1Latest
    2022-05-02 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 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
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 1.2
    2013-02-03 · diff ↗
Show 5 earlier events
  • 1.1
    2012-12-31 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.0
    2011-06-19
  • R
    R 2.13.0 released · 2011-04-13

Package metadata

First published
2011-06-19
Total releases
4 / 15 yrs
License
GPL
Download size
4.4 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pdist")

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 pdist version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-08-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-26, 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