Skip to content

pdist

Partitioned Distance Function

v1.2.1 · May 2, 2022 · GPL

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.7K

Last 30 days

1990th

3.7K

Last 90 days

3.7K

Last year

CRAN Check Status

4 NOTE
10 OK
Show all 14 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-macos-arm64 OK
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 (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

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.
NOTE r-devel-linux-x86_64-debian-gcc

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.
NOTE r-devel-linux-x86_64-fedora-clang

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.
NOTE r-devel-linux-x86_64-fedora-gcc

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.
OK r-devel-macos-arm64

*


            
OK 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

*


            

Check History

NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

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.
NOTE r-devel-linux-x86_64-debian-gcc

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.
NOTE r-devel-linux-x86_64-fedora-clang

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.
NOTE r-devel-linux-x86_64-fedora-gcc

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.

Reverse Dependencies (18)

depends

suggests

Dependency Network

Dependencies Reverse dependencies JQL partools FastKNN SSNbler SparseVFC Umatrix ahnr bigdatadist hmer hopkins hypervolume netcom rdi seqgendiff shattering +3 more reverse deps pdist

Version History

new 1.2.1 Mar 9, 2026