bigANNOY: Approximate k-Nearest Neighbour Search for 'bigmemory' Matrices with Annoy

Approximate Euclidean k-nearest neighbour search routines that operate on 'bigmemory::big.matrix' data through Annoy indexes created with 'RcppAnnoy'. The package builds persistent on-disk indexes plus sidecar metadata from streamed 'big.matrix' rows, supports euclidean, angular, Manhattan, and dot-product Annoy metrics, and can either return in-memory results or stream neighbour indices and distances into destination 'bigmemory' matrices. Explicit index life cycle helpers, stronger metadata validation, descriptor-aware file-backed workflows, and benchmark helpers are also included.

Version: 0.3.0
Depends: R (≥ 3.5.0)
Imports: methods, Rcpp, RcppAnnoy
LinkingTo: BH, bigmemory, Rcpp, RcppAnnoy
Suggests: bigmemory, knitr, litedown, testthat (≥ 3.0.0)
Published: 2026-04-01
DOI: 10.32614/CRAN.package.bigANNOY (may not be active yet)
Author: Frederic Bertrand [aut, cre]
Maintainer: Frederic Bertrand <frederic.bertrand at lecnam.net>
BugReports: https://github.com/fbertran/bigANNOY/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://fbertran.github.io/bigANNOY/, https://github.com/fbertran/bigANNOY
NeedsCompilation: yes
Citation: bigANNOY citation info
Materials: README, NEWS
CRAN checks: bigANNOY results

Documentation:

Reference manual: bigANNOY.html , bigANNOY.pdf
Vignettes: Benchmarking Recall and Latency (source, R code)
bigANNOY Versus bigKNN (source, R code)
File-Backed bigmemory Workflows (source, R code)
Getting Started with bigANNOY (source, R code)
Metrics and Tuning (source, R code)
Persistent Indexes and Lifecycle (source, R code)
Validation and Sharing Indexes (source, R code)

Downloads:

Package source: bigANNOY_0.3.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=bigANNOY to link to this page.