fastcluster: Fast Hierarchical Clustering Routines for R and 'Python'

This is a two-in-one package which provides interfaces to both R and 'Python'. It implements fast hierarchical, agglomerative clustering routines. Part of the functionality is designed as drop-in replacement for existing routines: linkage() in the 'SciPy' package 'scipy.cluster.hierarchy', hclust() in R's 'stats' package, and the 'flashClust' package. It provides the same functionality with the benefit of a much faster implementation. Moreover, there are memory-saving routines for clustering of vector data, which go beyond what the existing packages provide. For information on how to install the 'Python' files, see the file INSTALL in the source distribution. Based on the present package, Christoph Dalitz also wrote a pure 'C++' interface to 'fastcluster': <>.

Version: 1.2.6
Depends: R (≥ 3.0.0)
Enhances: stats, flashClust
Published: 2024-01-12
DOI: 10.32614/CRAN.package.fastcluster
Author: Daniel Müllner [aut, cph, cre], Google Inc. [cph]
Maintainer: Daniel Müllner <daniel at>
License: FreeBSD | GPL-2 | file LICENSE
Copyright: Until package version 1.1.23: © 2011 Daniel Müllner <>. All changes from version 1.1.24 on: © Google Inc. <>.
NeedsCompilation: yes
Citation: fastcluster citation info
In views: Cluster
CRAN checks: fastcluster results


Reference manual: fastcluster.pdf
Vignettes: User's manual


Package source: fastcluster_1.2.6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): fastcluster_1.2.6.tgz, r-oldrel (arm64): fastcluster_1.2.6.tgz, r-release (x86_64): fastcluster_1.2.6.tgz, r-oldrel (x86_64): fastcluster_1.2.6.tgz
Old sources: fastcluster archive

Reverse dependencies:

Reverse depends: bahc, cummeRbund, ICGE, PropClust, WGCNA
Reverse imports: adductomicsR, bioregion, CEMiTool, ClustAssess, cogena, cstab, disto, FuseSOM, geva, heatmap3, hierGWAS, HierPortfolios, hypervolume, iheatmapr, ILoReg, infercnv, Linnorm, maotai, MetaCyto, MetProc, MLGL, mousetrap, MRPC, msPurity, NPflow, pagoda2, RAFS, RAMClustR, scGPS, SPARTAAS, SpatialVx, visxhclust, VoxR
Reverse suggests: bluster, ComplexHeatmap, familiar, FCPS, hyperSpec, IncDTW, linkcomm, scde, TRexSelector


Please use the canonical form to link to this page.