parallelpam
Parallel Partitioning-Around-Medoids (PAM) for Big Sets of Data
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
259
Last 30 days
16236th
622
Last 90 days
2.7K
Last year
Trend: +91.9% (30d vs prior 30d)
40
Last 30 days
121
Last 90 days
416
Last year
Trend: -20% (30d vs prior 30d)
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
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
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
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
installed package size
installed size is 16.5Mb
sub-directories of 1Mb or more:
libs 16.1Mb
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
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/parallelpam.Rcheck/00install.out' for details.
installed package size
installed size is 16.5Mb
sub-directories of 1Mb or more:
libs 16.1Mb
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
installed package size
installed size is 16.5Mb
sub-directories of 1Mb or more:
libs 16.1Mb
installed package size
installed size is 16.3Mb
sub-directories of 1Mb or more:
libs 15.8Mb