The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

data.sketches: Probabilistic Streaming Data Sketches

Provides an interface to the 'Apache DataSketches' (<https://datasketches.apache.org/>) library of streaming algorithms for approximate analytics on data too large to hold or process exactly. Sketches are compact, mergeable summaries built in a single pass over a stream that answer queries such as approximate distinct counts, quantiles and ranks, frequent items and point-frequency estimates, weighted sampling, and set membership with mathematically proven error bounds. Implements Karnin-Lang-Liberty (KLL), Relative Error Quantiles (REQ), t-Digest, HyperLogLog (HLL), Compressed Probabilistic Counting (CPC), Theta, Frequent Items, Count-Min, Array of Doubles, Variance Optimal (VarOpt), Exact and Bounded Probabilistic Proportional-to-Size (EBPPS), and Bloom filter sketches, with native serialization for interoperability with other 'Apache DataSketches' implementations.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: R6, rlang
LinkingTo: cpp11
Suggests: testthat (≥ 3.0.0)
Published: 2026-07-09
DOI: 10.32614/CRAN.package.data.sketches
Author: Pedro Baltazar [aut, cre, cph], The Apache Software Foundation [ctb] (Author of bundled Apache DataSketches C++ code), Stephan Brumme [ctb] (Author of bundled xxhash64.h code), Austin Appleby [ctb] (Author of bundled public-domain MurmurHash3 code), Sean Eron Anderson [ctb] (Author of bundled public-domain bit-hack code used in ceiling_power_of_2.hpp)
Maintainer: Pedro Baltazar <pedrobtz at gmail.com>
BugReports: https://github.com/pedrobtz/data.sketches/issues
License: MIT + file LICENSE
Copyright: file inst/COPYRIGHTS
data.sketches copyright details
URL: https://github.com/pedrobtz/data.sketches, https://pedrobtz.github.io/data.sketches/
NeedsCompilation: yes
SystemRequirements: C++17
Materials: README, NEWS
CRAN checks: data.sketches results

Documentation:

Reference manual: data.sketches.html , data.sketches.pdf

Downloads:

Package source: data.sketches_0.1.0.tar.gz
Windows binaries: r-devel: data.sketches_0.1.0.zip, r-release: data.sketches_0.1.0.zip, r-oldrel: data.sketches_0.1.0.zip
macOS binaries: r-release (arm64): data.sketches_0.1.0.tgz, r-oldrel (arm64): data.sketches_0.1.0.tgz, r-release (x86_64): data.sketches_0.1.0.tgz, r-oldrel (x86_64): data.sketches_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=data.sketches to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.