Extremely Fast Hashing of R Objects, Raw Data and Files using 'xxHash' Algorithms
Overview
Extremely fast hashing of R objects using 'xxHash'. R objects are hashed via the standard serialization mechanism in R. Raw byte vectors and strings can be handled directly for compatibility with hashes created on other systems. This implementation is a wrapper around the 'xxHash' 'C' library which is available from https://github.com/Cyan4973/xxHash.
- Rename hash
algooptions to better align with official documentation - Skip serialization header so results for
algo = xxh128matchrlang::hash() - Hash files, strings and raw vector contents directly (i.e. not using serialization)
- Return hash as string or raw vector
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 3
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/coolbutuseless/xxhashlite on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing xxhashlite adds no packages beyond those that come with R.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2.2Latest2024-03-12 · current release
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-03-12
- Total releases
- 1 / 2 yrs
- License
- MIT + file LICENSE OSI
- Copyright
- This package includes code from the 'xxhash' written Yann Collet. See file 'inst/LICENSE-xxhash' for copyright information of the original library.
- Minimum R
- ≥ 3.5.0
- Download size
- 144 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("xxhashlite")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-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.