Skip to content

RcppAnnoy

0.0.23

'Rcpp' Bindings for 'Annoy', a Library for Approximate Nearest Neighbors

6packages dependsuggested by 1
673Kdownloads / year
76.7%test coverage
13/13flavors OK

Overview

About

'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.

Changes in 0.0.23
  • 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::asis builder (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

CRAN checks
13OK
Slowest check: 4.1 min · r-devel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.0.23
READMEYes · 225 wordsVignettesYes · 1 · staticNEWSYes · mentions 0.0.23Citation fileNoWebsiteYes
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())

Vignettes (1)

Downloads

673K
CRAN downloads in the past year
Rank #484 · ~1.8K/day · ~56.1K/mo
Daily download trend is not available in this view yet.
53.6K30 days
158.4K90 days
673K1 year
Compare downloads with other packages →
Also on27.9K r2u11 autocran207.6K conda_forge730 c2d4u

Repository

76Stars
24Forks
0Open issues
0Open PRs
0Releases
285Commits
12Commit identities
r-packagercranannoynearest-neighborsnearest
License file reads as GPL-2.0 · 285 commits · Last activity 2026-01-12 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-07-21 · 752026-08-16 · 76
PracticesBeta

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.

Continuous integration (1)
GitHub Actions
Governance and community (1)

The repository owner accepts GitHub Sponsors

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing RcppAnnoy adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (1)
R >= 3.1
Imports (2)
methodsRcpp
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
6direct
75indirect
Imports 6 · LinkingTo 4
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.0.2 (2014)
Author · added in 0.0.23
Principal author of Annoy
Releases (22)

Pick two releases to compare their code metrics.

Show 19 earlier eventsHide 19 earlier events

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")
Eddelbuettel, D., & Bernhardsson, E. (2026). RcppAnnoy: 'Rcpp' Bindings for 'Annoy', a Library for Approximate Nearest Neighbors (Version 0.0.23) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for RcppAnnoy version 0.0.23 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy