RANN
2.6.2Fast Nearest Neighbour Search (Wraps ANN Library) Using L2 Metric
Overview
Finds the k nearest neighbours for every point in a given dataset in O(N log N) time using Arya and Mount's ANN library (v1.1.3). There is support for approximate as well as exact searches, fixed radius searches and 'bd' as well as 'kd' trees. The distance is computed using the L2 (Euclidean) metric. Please see package 'RANN.L1' for the same functionality using the L1 (Manhattan, taxicab) metric.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE2026-07-1610 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 88%
- Return-value docs
- 100%
- References docs
- 50%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/jefferislab/rann on 2026-08-16.
Dependencies
and 51 more packages.
Code & Tests
People & History
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.6.2Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 2.6.12019-01-08 · diff ↗
- 2.62018-07-16 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.5.12017-05-21 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 2.52015-04-20 · diff ↗
Show 6 earlier events
- RR 3.2.0 released · 2015-04-16
- 2.4.12014-07-21 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 2.3.02013-07-24
- removedRemoved from CRAN2013-07-21misrepresentation of authorship
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-07-24
- Total releases
- 7 / 13 yrs
- License
- GPL (>= 3) OSI
- Download size
- 58 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RANN")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.
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.