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

CRAN

57.2K

Last 30 days

477th

194K

Last 90 days

693.2K

Last year

Trend: -4.3% (30d vs prior 30d)

r2u CRAN

1.4K

Last 30 days

4.3K

Last 90 days

12.2K

Last year

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

autoCRAN

16

Last 7 days

133

Last 30 days

2

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

CRAN Check Status

13 OK
Show all 13 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-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 (96)

Dependency Network

Dependencies Reverse dependencies BRISC MRAM RapidPolygonLookup WPKDE celestial spNNGP BioGSP CCMMR ClustAssess CrossExpression FIRM FOCI FORD GrabSVG KMD +81 more reverse deps RANN

Version History

8 tracked
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