STACAS
Single-cell batch correction that learned to use cell labels, then spent three releases chasing Seurat.
A side-by-side editorial comparison of kde1d and sd2r — release velocity, themes, recent moves, and the top alternatives to consider.
A univariate density estimator that added zero-inflated data and reopened its C++ API to do it.
kde1d estimates univariate densities with local polynomial kernel methods, handling bounded, discrete and now zero-inflated variables through a single type argument, with the numerical work in a header-only C++ library usable outside R. Version 1.1.0 added the zero-inflated discrete-continuous mixture case and shipped a new C++ API as an explicit breaking change; 1.1.1 followed in June with auto-generated notes and no description.
Local Stable Diffusion inference lands in R, shipped as Rcpp bindings over stable-diffusion.cpp
sd2r is a young project wrapping stable-diffusion.cpp for R via Rcpp. The 0.1.0 release established the package structure and the core call surface — sd_ctx(), sd_txt2img(), sd_save_image() — with Vulkan GPU support behind a configure flag and a worked SD 1.5 example at 512x512. The two releases since are not code but asset bundles: precompiled tokenizer vocabularies and BPE merge tables shipped as header files, growing from four tokenizers to twelve.
kde1d estimates univariate densities with local polynomial kernel methods, handling bounded, discrete and now zero-inflated variables through a single type argument, with the numerical work in a header-only C++ library usable outside R. Version 1.1.0 added the zero-inflated discrete-continuous mixture case and shipped a new C++ API as an explicit breaking change; 1.1.1 followed in June with auto-generated notes and no description.
The package has alternated between performance work and widening the class of data it accepts. The 1.0.0 release was the performance milestone — FFT-based estimation, a better integration algorithm for the p, q and r functions, deterministic jittering replacing randomness, and standalone C++ headers. The 1.1.0 release is the scope milestone, adding a third data type to the two it already handled. Releases come from the same maintainer as svines and cluster on shared dates, so changes in the underlying C++ surface across the vine and density stack tend to ship together.
With the C++ API deliberately reworked for standalone use at 1.1.0, further work most plausibly consolidates that interface rather than adding data types. What 1.1.1 actually changed is not readable from its body.
sd2r is a young project wrapping stable-diffusion.cpp for R via Rcpp. The 0.1.0 release established the package structure and the core call surface — sd_ctx(), sd_txt2img(), sd_save_image() — with Vulkan GPU support behind a configure flag and a worked SD 1.5 example at 512x512. The two releases since are not code but asset bundles: precompiled tokenizer vocabularies and BPE merge tables shipped as header files, growing from four tokenizers to twelve.
The asset releases are the more revealing half of this history. The first bundle covered CLIP, Mistral, Qwen and UMT5 — enough for SD 1.x through Flux. The second adds T5, Gemma, Gemma2 and GPT-OSS merges and splits UMT5 out as the Wan video encoder, so the tokenizer surface now reaches well beyond the image models the package currently exposes. Vocabulary support is being staged ahead of the inference paths that would use it.
Given that tokenizers for Flux, SD3 and the Wan video encoder are already bundled while the documented API stops at txt2img, the next step is most likely exposing those model families through the R interface.
Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either kde1d or sd2r.
Single-cell batch correction that learned to use cell labels, then spent three releases chasing Seurat.
A debugger for ggplot2's internals, hardening its grip as the internals it traces keep moving.
Stationary vine copulas for time series, released in lockstep with the rest of Nagler's vine stack.
A single-purpose ggplot2 extension that has spent six years tracking ggplot2 instead of growing.
A Star Trek data package that became a Memory Alpha web client and has been patching scrapers ever since.
A thin EIA energy-data client whose whole story is making bulk queries survive the API's limits.
Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.
Both compete on the same themes — r-package — within Analytics. kde1d and sd2r are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.
Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. kde1d and sd2r are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.
Top kde1d alternatives in Analytics are ranked by recent ship velocity. Browse the "kde1d alternatives" section above for the current picks, or visit /alternatives/kde1d for the full list with editorial commentary on each.
Top sd2r alternatives in Analytics are ranked by recent ship velocity. Browse the "sd2r alternatives" section above for the current picks, or visit /alternatives/sd2r for the full list with editorial commentary on each.