Package: RcppAnnoy 0.0.23

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

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

Authors:Dirk Eddelbuettel [aut, cre], Erik Bernhardsson [aut]

RcppAnnoy_0.0.23.tar.gz
RcppAnnoy_0.0.23.zip(r-4.7)RcppAnnoy_0.0.23.zip(r-4.6)RcppAnnoy_0.0.23.zip(r-4.5)
RcppAnnoy_0.0.23.tgz(r-4.6-x86_64)RcppAnnoy_0.0.23.tgz(r-4.6-arm64)RcppAnnoy_0.0.23.tgz(r-4.5-x86_64)RcppAnnoy_0.0.23.tgz(r-4.5-arm64)
RcppAnnoy_0.0.23.tar.gz(r-4.7-arm64)RcppAnnoy_0.0.23.tar.gz(r-4.7-x86_64)RcppAnnoy_0.0.23.tar.gz(r-4.6-arm64)RcppAnnoy_0.0.23.tar.gz(r-4.6-x86_64)
RcppAnnoy_0.0.23.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
RcppAnnoy/json (API)
NEWS

# Install 'RcppAnnoy' in R:
install.packages('RcppAnnoy', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/eddelbuettel/rcppannoy/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

annoynearestnearest-neighborscpp

12.72 score 77 stars 200 packages 95 scripts 59k downloads 1 mentions 7 exports 1 dependencies

Last updated from:8e59f54658. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK144
linux-devel-x86_64OK182
source / vignettesOK160
linux-release-arm64OK136
linux-release-x86_64OK129
macos-release-arm64OK96
macos-release-x86_64OK276
macos-oldrel-arm64OK110
macos-oldrel-x86_64OK387
windows-develOK140
windows-releaseOK140
windows-oldrelOK143
wasm-releaseOK100

Exports:AnnoyAngularAnnoyDotProductAnnoyEuclideanAnnoyHammingAnnoyManhattangetAnnoyVersiongetArchictectureStatus

Dependencies:Rcpp

Using Annoy in C++

Rendered fromUsingAnnoyInCpp.pdf.asisusingRcpp::asison May 12 2026.

Last update: 2025-07-21
Started: 2025-07-20

Readme and manuals

Help Manual

Help pageTopics
Rcpp bindings for the Annoy C++ library for approximate nearest neighbors.RcppAnnoy-package RcppAnnoy Rcpp_Annoy
Approximate Nearest Neighbors with AnnoyAnnoyAngular AnnoyDotProduct AnnoyEuclidean AnnoyHamming AnnoyIndex AnnoyManhattan Rcpp_AnnoyAngular Rcpp_AnnoyAngular-class Rcpp_AnnoyDotProduct Rcpp_AnnoyDotProduct-class Rcpp_AnnoyEuclidean Rcpp_AnnoyEuclidean-class Rcpp_AnnoyHamming Rcpp_AnnoyHamming-class Rcpp_AnnoyManhattan Rcpp_AnnoyManhattan-class
Get the Annoy library versiongetAnnoyVersion
Report CPU Architecture and CompilergetArchictectureStatus