RcppAnnoy
0.0.23'Rcpp' Bindings for 'Annoy', a Library for Approximate Nearest Neighbors
Overview
'Annoy' is a small C++ library for Approximate Nearest Neighbors written for efficient memory usage as well an ability to load from / save to disk. This package provides an R interface by relying on the 'Rcpp' package, exposing the same interface as the original Python wrapper to 'Annoy'. See https://github.com/spotify/annoy for more on 'Annoy'. 'Annoy' is released under Version 2.0 of the Apache License. Also included is a small Windows port of 'mmap' which is released under the MIT license.
- Add dot product distance metrics (Benjamin James in 78)
- Apply small polish to the documentation (Dirk closing 79)
- A new
demo()has been added (Samuel Granjeaud in 79) - Switch to Authors@R in DESCRIPTION
- Several updates to continuous integration and README.md
- Small enhancements to package help files
- Updates to vignettes and references
- Vignette now uses
Rcpp::asisbuilder (Dirk in 80) - Switch one macro to a function to avoid a compiler nag (Amos Elberg in 81)
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 4includes a package overview page
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 33%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 25%
Also includes 2 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/eddelbuettel/rcppannoy on 2026-10-11.
The repository owner accepts GitHub Sponsors
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.0.23Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.0.222024-01-23 · diff ↗
- 0.0.212023-07-03 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.0.202022-10-28 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.0.192021-07-30 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.0.182020-12-15 · diff ↗
- 0.0.172020-11-16 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.0.162020-03-08 · diff ↗
- 0.0.152020-02-27 · diff ↗
Show 19 earlier eventsHide 19 earlier events
- 0.0.142019-11-12 · diff ↗
- 0.0.132019-09-23 · diff ↗
- 0.0.122019-05-12 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.0.112018-11-01 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.0.102017-09-26 · diff ↗
- 0.0.92017-08-31 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.0.82016-10-01 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.0.72015-11-15 · diff ↗
- 0.0.62015-05-04 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.0.52015-01-24 · diff ↗
- 0.0.42014-12-08 · diff ↗
- 0.0.32014-11-18 · diff ↗
- 0.0.22014-11-16
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2014-11-16
- Total releases
- 22 / 12 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.1
- Download size
- 115 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RcppAnnoy")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.