uwot
0.2.5The Uniform Manifold Approximation and Projection (UMAP) Method for Dimensionality Reduction
Overview
An implementation of the Uniform Manifold Approximation and Projection dimensionality reduction by McInnes et al. (2018) doi:10.48550/arXiv.1802.03426. It also provides means to transform new data and to carry out supervised dimensionality reduction. An implementation of the related LargeVis method of Tang et al. (2016) doi:10.48550/arXiv.1602.00370 is also provided. This is a complete re-implementation in R (and C++, via the 'Rcpp' package): no Python installation is required. See the uwot website (https://github.com/jlmelville/uwot) for more documentation and examples.
Bug fixes and minor improvements
- New parameter:
n_build_threads. Controls the number of threads used to build the nearest
neighbor index when using nn_method = "hnsw" or nn_method = "nndescent". With a given seed,
setting n_build_threads = 1 will give deterministic nearest neighbor results when using either of
those methods (at the cost of some speed). If you are using the default Annoy-based method, this
parameter does nothing: it has always used one thread to build the index. Thank you
hsuknowledge for pointing out the issue around determinism.
(<https://github.com/jlmelville/uwot/issues/139>).
- When passing a list of two matrices to
nn_methodto represent a pre-computed k-nearest neighbor
graph, you may specify the indices and distances as index and distance respectively. This
improves compatibility with the BiocNeighbors package. Thank you
hsuknowledge for pointing out the mismatch in naming convention
Show all changes in 0.2.5Hide the rest of the changes in 0.2.5
(<https://github.com/jlmelville/uwot/issues/140>).
- Parallel-loop helpers now propagate worker exceptions from threaded code, although hopefully that
never happens.
default_num_threadsnow returns an integer.- The C++ sources now explicitly target the C++17 standard.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-05
- NOTE11 OK, 2 NOTE2026-07-16
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-10
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-09
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 12
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 92%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 232
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/jlmelville/uwot on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-04 · The repository has a site deploy workflow
pkgdown site last built 2026-10-04
Show all practicesHide 1 practice
Dependencies
Installing uwot adds 10 packages (8 with compiled code, 19 MB of source tarballs). Heaviest: BH 14 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.5Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.42025-11-10 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.2.32025-02-24 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.2.22024-04-21 · diff ↗
- 0.2.1
- 0.1.162023-06-29 · diff ↗
- 0.1.152023-06-26 · diff ↗ ·
added 3 exports
optimize_graph_layout, simplicial_set_intersect, simplicial_set_union - RR 4.3.0 released · 2023-04-21
- 0.1.14
- 0.1.132022-08-16 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.112021-12-02 · diff ↗
- RR 4.1.0 released · 2021-05-18
Show 10 earlier eventsHide 10 earlier events
Package metadata
- First published
- 2019-04-06
- Total releases
- 17 / 7 yrs
- License
- GPL (>= 3) OSI
- Download size
- 604 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("uwot")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.