Skip to content

dbscan

1.2.5

Density-Based Spatial Clustering of Applications with Noise (DBSCAN) and Related Algorithms

88packages depend
496.9Kdownloads / year
58.9%test coverage
13/13checks pass

Overview

About
Maintained by Michael HahslerFirst published 2015-07-1629 releasesCRAN page ↗GitHub ↗

A fast reimplementation of several density-based algorithms of the DBSCAN family. Includes the clustering algorithms DBSCAN (density-based spatial clustering of applications with noise) and HDBSCAN (hierarchical DBSCAN), the ordering algorithm OPTICS (ordering points to identify the clustering structure), shared nearest neighbor clustering, and the outlier detection algorithms LOF (local outlier factor) and GLOSH (global-local outlier score from hierarchies). The implementations use the kd-tree data structure (from library ANN) for faster k-nearest neighbor search. An R interface to fast kNN and fixed-radius NN search is also provided. Hahsler, Piekenbrock and Doran (2019) doi:10.18637/jss.v091.i01.

Install

Health

CRAN checks
13OK
Slowest check: 6.4 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.19
58.9%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,259 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
95%
Return-value docs
81%
References docs
72%

Downloads

496.9K
CRAN downloads in the past year
Rank #582 · ~1.4K/day · ~41.4K/mo
Daily download trend is not available in this view yet.
33.1K30 days
113.7K90 days
496.9K1 year
Compare downloads with other packages →
Also on6.4K r2u18 autocran17.1K conda_forge1.1K c2d4u

Repository

Repository
350Stars
63Forks
3Open issues
2Open PRs
20Releases
356Commits
9Contributors
dbscanclusteringlofopticsdensity-based-clusteringcranrhdbscan
License GPL-3.0 · 356 commits · Last activity 2026-06-18 · +0.3% stars, 30d

Stars over time

2025-08-06 · 3312026-07-29 · 350

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/mhahsler/dbscan on 2026-08-16.

Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2.0
Imports (4)
genericsgraphicsRcppstats
LinkingTo (1)
Enhances (0)
none

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author, Copyright holder · added in 0.9-7
Contributors (3)
Contributor, Copyright holder
Contributor · added in 1.2.1
Contributor, Copyright holder
Copyright holders (4)
Author, Maintainer, Copyright holder
Author, Copyright holder · added in 0.9-7
Contributor, Copyright holder
Contributor, Copyright holder
Package Timeline

29 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.2.5Latest
    2026-06-09 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.4
    2025-12-19 · diff ↗
  • 1.2.3
    2025-08-20 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.2
    2025-01-26 · diff ↗
  • 1.2.1
    2025-01-24 · diff ↗
  • 1.2-0
    2024-06-28 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1-12
    2023-11-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1-11
    2022-10-27 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1-10
    2022-01-15 · diff ↗
  • 1.1-9
    2022-01-11 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
Show 25 earlier events
  • 1.1-8
    2021-04-27 · diff ↗
  • 1.1-7
    2021-04-22 · diff ↗
  • 1.1-6
    2021-02-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1-5
    2019-10-23 · diff ↗
  • 1.1-4
    2019-08-05 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1-3
    2018-11-13 · diff ↗
  • 1.1-2
    2018-05-19 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1-1
    2017-03-20 · diff ↗
  • 1.1-0
    2017-03-19 · diff ↗
  • 1.0-0
    2017-02-03 · diff ↗
  • 0.9-8
    2016-08-06 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.9-7
    2016-04-14 · diff ↗
  • 0.9-6
    2015-12-15 · diff ↗
  • 0.9-5
    2015-10-05 · diff ↗
  • 0.9-4
    2015-09-17 · diff ↗
  • 0.9-3
    2015-09-03 · diff ↗
  • 0.9-2
    2015-08-12 · diff ↗
  • 0.9-1
    2015-07-23 · diff ↗
  • 0.9-0
    2015-07-16
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-07-16
Total releases
29 / 11 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.2.0
Bundled data
107 KB / 6 files
Download size
2.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dbscan")
Hahsler, M., Arya, S., Malzer, C., Mount, D., & Piekenbrock, M. (2026). dbscan: Density-Based Spatial Clustering of Applications with Noise (DBSCAN) and Related Algorithms (Version 1.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.dbscan

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 dbscan version 1.2.5 [Data set]. HJJB, LLC. Data release v2026-08-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-17, 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