Skip to content

parallelpam

Parallel Partitioning-Around-Medoids (PAM) for Big Sets of Data

v1.4.3 · Jul 15, 2024 · GPL (>= 2)

Description

Application of the Partitioning-Around-Medoids (PAM) clustering algorithm described in Schubert, E. and Rousseeuw, P.J.: "Fast and eager k-medoids clustering: O(k) runtime improvement of the PAM, CLARA, and CLARANS algorithms." Information Systems, vol. 101, p. 101804, (2021). <doi:10.1016/j.is.2021.101804>. It uses a binary format for storing and retrieval of matrices developed for the 'jmatrix' package but the functionality of 'jmatrix' is included here, so you do not need to install it. Also, it is used by package 'scellpam', so if you have installed it, you do not need to install this package. PAM can be applied to sets of data whose dissimilarity matrix can be very big. It has been tested with up to 100.000 points. It does this with the help of the code developed for other package, 'jmatrix', which allows the matrix not to be loaded in 'R' memory (which would force it to be of double type) but it gets from disk, which allows using float (or even smaller data types). Moreover, the dissimilarity matrix is calculated in parallel if the computer has several cores so it can open many threads. The initial part of the PAM algorithm can be done with the BUILD or LAB algorithms; the BUILD algorithm has been implemented in parallel. The optimization phase implements the FastPAM1 algorithm, also in parallel. Finally, calculation of silhouette is available and also implemented in parallel.

Downloads

CRAN

259

Last 30 days

16236th

622

Last 90 days

2.7K

Last year

Trend: +91.9% (30d vs prior 30d)

r2u CRAN

40

Last 30 days

121

Last 90 days

416

Last year

Trend: -20% (30d vs prior 30d)

autoCRAN

5

Last 7 days

14

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc 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 History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

code files for non-ASCII characters

Found the following file with non-ASCII characters:
  Fatal error: cannot create 'R_TempDir'
Portable packages must use only ASCII characters in their R code and
NAMESPACE directives, except perhaps in comments.
Use \uxxxx escapes for other characters.
Function ‘tools::showNonASCIIfile’ can help in finding non-ASCII
characters in files.
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
Warning in gzfile(file, mode) :
  cannot open compressed file '/tmp/Rtmp2wLiMN/libloc_216_4b2a3c4b2ff61586.rds', probable reason 'No space left on device'
Error in gzfile(file, mode) : cannot open the connection
Calls: <Anonymous> ... rownames -> %||% -> <Anonymous> -> saveRDS -> gzfile
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 16.5Mb
  sub-directories of 1Mb or more:
    libs  16.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 16.3Mb
  sub-directories of 1Mb or more:
    libs  15.8Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/parallelpam.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 16.5Mb
  sub-directories of 1Mb or more:
    libs  16.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 16.3Mb
  sub-directories of 1Mb or more:
    libs  15.8Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 16.5Mb
  sub-directories of 1Mb or more:
    libs  16.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 16.3Mb
  sub-directories of 1Mb or more:
    libs  15.8Mb

Dependency Network

Dependencies Reverse dependencies Rcpp memuse parallelpam

Version History

7 tracked
new 1.4.3 Mar 10, 2026
updated 1.4.3 ← 1.4.2 diff Jul 14, 2024
updated 1.4.2 ← 1.4 diff Jun 30, 2024
updated 1.4 ← 1.3 diff Oct 8, 2023
updated 1.3 ← 1.0.1 diff Jun 22, 2023
updated 1.0.1 ← 1.0 diff Jan 7, 2023
new 1.0 Nov 23, 2022