Description
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.
Downloads
3.2K
Last 30 days
2220th
11.2K
Last 90 days
69.7K
Last year
Trend: -18.4% (30d vs prior 30d)
71
Last 30 days
222
Last 90 days
584
Last year
Trend: -26% (30d vs prior 30d)
1
Last 7 days
4
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| 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 | NOTE |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (4 non-OK)
CRAN incoming feasibility
Maintainer: ‘Jeffrey Wong <jeff.ct.wong@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Jeffrey",
family = "Wong",
role = c("aut", "cre"),
email = "jeff.ct.wong@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Jeffrey Wong <jeff.ct.wong@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Jeffrey",
family = "Wong",
role = c("aut", "cre"),
email = "jeff.ct.wong@gmail.com")
as necessary.
compiled code
File ‘pdist/libs/pdist.so’: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ It is good practice to register native routines and to disable symbol search. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
compiled code
File ‘pdist/libs/pdist.so’: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ It is good practice to register native routines and to disable symbol search. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Check History
NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Jeffrey Wong <jeff.ct.wong@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Jeffrey",
family = "Wong",
role = c("aut", "cre"),
email = "jeff.ct.wong@gmail.com")
as necessary.
CRAN incoming feasibility
Maintainer: ‘Jeffrey Wong <jeff.ct.wong@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Jeffrey",
family = "Wong",
role = c("aut", "cre"),
email = "jeff.ct.wong@gmail.com")
as necessary.
compiled code
File ‘pdist/libs/pdist.so’: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ It is good practice to register native routines and to disable symbol search. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
compiled code
File ‘pdist/libs/pdist.so’: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ It is good practice to register native routines and to disable symbol search. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.