Skip to content

ClusterR

1.3.7Package record

Gaussian Mixture Models, K-Means, Mini-Batch-Kmeans, K-Medoids and Affinity Propagation Clustering

15packages dependsuggested by 8
87Kdownloads / year
89.4%test coverage
13/13flavors OK

Overview

About

Gaussian mixture models, k-means, mini-batch-kmeans, k-medoids and affinity propagation clustering with the option to plot, validate, predict (new data) and estimate the optimal number of clusters. The package takes advantage of 'RcppArmadillo' to speed up the computationally intensive parts of the functions. For more information, see (i) "Clustering in an Object-Oriented Environment" by Anja Struyf, Mia Hubert, Peter Rousseeuw (1997), Journal of Statistical Software, doi:10.18637/jss.v001.i04; (ii) "Web-scale k-means clustering" by D. Sculley (2010), ACM Digital Library, doi:10.1145/1772690.1772862; (iii) "Armadillo: a template-based C++ library for linear algebra" by Sanderson et al (2016), The Journal of Open Source Software, doi:10.21105/joss.00026; (iv) "Clustering by Passing Messages Between Data Points" by Brendan J. Frey and Delbert Dueck, Science 16 Feb 2007: Vol. 315, Issue 5814, pp. 972-976, doi:10.1126/science.1136800.

Changes in 1.3.7
  • The predict() method for GMMCluster objects now has a type argument. It returns hard cluster labels by default (type = "cluster"), cluster probabilities with type = "prob", and the complete output of predict_GMM() with type = "all" (see issue #73).
  • I fixed the CRAN NOTE: "Found calls to structure() using deprecated special names: ClusterR/tests/testthat/test-gmm.R (.Dim: 2, .Names: 1) '.Dim' should be changed to 'dim'. '.Names' should be changed to 'names'."

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-12
  • NOTE10 OK, 3 NOTE2026-07-16
  • OK13 OK2026-05-02
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 3 earlier changesHide 3 earlier changes
  • NOTE9 OK, 5 NOTE2026-04-10
  • ERROR8 OK, 5 NOTE, 1 ERROR2026-04-09
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.3.7
READMEYes · 483 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.3.7Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JSS articleCites a JOSS paper
Help pages
30 (5 internal)
Examples that run
88%22 run in a plain check · 1 never run · 2 hold no code
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
91%
Help pages citing references
37%

Downloads

87K
CRAN downloads in the past year
Rank #1,500 · ~238/day · ~7.3K/mo
Daily download trend is not available in this view yet.
5.6K30 days
16.4K90 days
87K1 year
Compare downloads with other packages →
Also on1.3K r2u19 autocran11.1K conda_forge147 c2d4u

Repository

86Stars
30Forks
1Open issues
3Open PRs
0Releases
180Commits
7Commit identities
gmmkmeansmini-batch-kmeanskmedoids-clusteringrcpparmadillocpp11raffinity-propagation
180 commits · Last activity 2026-09-07 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
47%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
3

Stars over time

2025-04-09 · 842026-09-16 · 86
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/mlampros/clusterr on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (3)
Issue templates

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-07 · The repository has a site deploy workflow

pkgdown site last built 2026-09-07, before release 1.3.7 (2026-09-08)

Reproducibility and dev environment (1)
Dockerfile
Show all practicesHide 1 practice
Automation and maintenance (1)
Dependabot
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2025-10-13
    Commits: 9 by its own account
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing ClusterR adds 20 packages (10 with compiled code, 17 MB of source tarballs). Heaviest: ggplot2 6.0 MB, Rcpp 1.8 MB, isoband 1.5 MB.

Depends (1)
R >= 3.2
Imports (8)
RcppgraphicsgrDevicesutilsstatsgmpggplot2lifecycle
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
15direct
6indirect
Imports 14 · LinkingTo 1
Suggested by 8
Show all 23 packagesHide all 23 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (8)
Author, Maintainer since 1.0.0 (2016)
Contributor · added in 1.3.5
Github Contributor
Contributor · added in 1.2.6
Github Contributor
Copyright holder · added in 1.1.6
Author of the C code of the Mini-Batch-Kmeans algorithm (https://github.com/siddharth-agrawal/Mini-Batch-K-Means)
Copyright holder · added in 1.1.6
Author of the C++ Armadillo library
Copyright holder · added in 1.1.6
Author of the matlab code of the Affinity propagation algorithm
Copyright holder · added in 1.1.6
Author of the matlab code of the Affinity propagation algorithm (for commercial use please contact the author of the…
Copyright holder · added in 1.1.6
Author of the C++ Armadillo library
Releases (37)

Pick two releases to compare their code metrics.

Show 32 earlier eventsHide 32 earlier events

Package metadata

First published
2016-09-06
Total releases
37 / 10 yrs
License
GPL-3 OSI · relicensed from MIT + file LICENSE in 1.1.6
Minimum R
≥ 3.2
Bundled data
158 KB / 3 files
Download size
960 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ClusterR")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 ClusterR version 1.3.7 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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