The ClusterR package consists of Gaussian mixture models, k-means, mini-batch-kmeans and k-medoids clustering algorithms with the option to plot, validate, predict (new data) and find the optimal number of clusters. The package takes advantage of ‘RcppArmadillo’ to speed up the computationally intensive parts of the functions. More details on the functionality of ClusterR can be found in the package Vignette. ClusterR can be installed, currently, in the following OS’s: Linux, Mac and Windows.

To install the package from CRAN use,


and to download the latest version from Github use the install_github function of the devtools package,


Use the following link to report bugs/issues,