Skip to content

RANN

Fast Nearest Neighbour Search (Wraps ANN Library) Using L2 Metric

v2.6.2 · Aug 25, 2024 · GPL (>= 3)

Description

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.

Downloads

53.6K

Last 30 days

493rd

156.3K

Last 90 days

634.3K

Last year

Trend: +6.4% (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 (98)

Dependency Network

Dependencies Reverse dependencies BRISC MRAM RapidPolygonLookup WPKDE celestial saasCNV spNNGP AnomalyScore BioGSP CCMMR ClustAssess CrossExpression FIRM FOCI FORD +83 more reverse deps RANN

Version History

new 2.6.2 Mar 10, 2026
updated 2.6.2 ← 2.6.1 diff Aug 24, 2024
updated 2.6.1 ← 2.6 diff Jan 7, 2019
updated 2.6 ← 2.5.1 diff Jul 15, 2018
updated 2.5.1 ← 2.5 diff May 20, 2017
updated 2.5 ← 2.4.1 diff Apr 19, 2015
updated 2.4.1 ← 2.3.0 diff Jul 20, 2014
new 2.3.0 Jul 23, 2013