Skip to content

fastcluster

Fast Hierarchical Clustering Routines for R and 'Python'

v1.3.0 · May 7, 2025 · FreeBSD | GPL-2 | file LICENSE

Description

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': <https://lionel.kr.hs-niederrhein.de/~dalitz/data/hclust/>.

Downloads

17.1K

Last 30 days

943rd

51.9K

Last 90 days

248.1K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (32)

Dependency Network

Dependencies Reverse dependencies ICGE PropClust WGCNA bahc ClustAssess HierPortfolios MLGL MRPC NPflow RAFS SPARTAAS SpatialVx VoxR WeightedCluster bioregion +17 more reverse deps fastcluster

Version History

new 1.3.0 Mar 10, 2026
updated 1.3.0 ← 1.2.6 diff May 6, 2025
updated 1.2.6 ← 1.2.3 diff Jan 11, 2024
updated 1.2.3 ← 1.2.2 diff May 24, 2021
updated 1.2.2 ← 1.1.25 diff May 23, 2021
updated 1.1.25 ← 1.1.24 diff Jun 6, 2018
updated 1.1.23 ← 1.1.22 diff Aug 20, 2017
updated 1.1.24 ← 1.1.23 diff Aug 20, 2017
updated 1.1.22 ← 1.1.21 diff Dec 8, 2016
updated 1.1.21 ← 1.1.20 diff Sep 18, 2016
updated 1.1.20 ← 1.1.16 diff Mar 30, 2016
updated 1.1.16 ← 1.1.15 diff Feb 16, 2015
updated 1.1.15 ← 1.1.14 diff Jan 4, 2015
updated 1.1.14 ← 1.1.13 diff Jan 3, 2015
updated 1.1.13 ← 1.1.11 diff Dec 16, 2013
updated 1.1.11 ← 1.1.10 diff May 23, 2013
updated 1.1.10 ← 1.1.9 diff May 22, 2013
updated 1.1.9 ← 1.1.8 diff Mar 16, 2013
updated 1.1.8 ← 1.1.7 diff Jan 18, 2013
updated 1.1.7 ← 1.1.6 diff Sep 20, 2012