PurpleAir
The R client for PurpleAir sensors keeps finding its time-averaging was wrong.
A side-by-side editorial comparison of moderndive and quanteda — release velocity, themes, recent moves, and the top alternatives to consider.
The ModernDive teaching package learns to render inside the browser that runs its own textbook
moderndive supplies the datasets, regression helpers and ggplot geoms used by the ModernDive introductory statistics textbook. Its release history is mostly dataset accumulation — much of it contributed by students in batches — punctuated by occasional function work. The latest release is different: it fixes View() so it renders inside webR, the in-browser R that powers the book's live exercises, and reworks the regression helpers to survive in-formula transformations.
Text analysis in R keeps optimising its token internals — and builds a path out to torch
quanteda is a mature framework for quantitative text analysis in R. Since the 4.0 rewrite around external-pointer tokens objects, releases have concentrated on the internals: recompilation control, memory reduction on concatenation, type-table consistency between tokens and dfm objects. The newest release adds tokens_recompile() for explicit ID reassignment, stops query functions from recompiling implicitly, and returns dense rather than sparse tensors from as.tensor() with arguments passed through to torch.
moderndive supplies the datasets, regression helpers and ggplot geoms used by the ModernDive introductory statistics textbook. Its release history is mostly dataset accumulation — much of it contributed by students in batches — punctuated by occasional function work. The latest release is different: it fixes View() so it renders inside webR, the in-browser R that powers the book's live exercises, and reworks the regression helpers to survive in-formula transformations.
The package is following the textbook's second edition into the browser. webR has no pandoc, so the DT htmlwidget path the package relied on cannot produce the self-contained HTML the notebook cell needs, and the auto-print path was gated behind interactive() being false — meaning students working through the live exercises saw an explanatory message where a table should have been. Building a static HTML table and pushing it through webR's viewer hook is a small change with a direct effect on whether the book's interactive mode works at all.
With the book's v2 datasets landed and the browser rendering path fixed, the remaining friction is most likely in other functions that assume a desktop R session.
quanteda is a mature framework for quantitative text analysis in R. Since the 4.0 rewrite around external-pointer tokens objects, releases have concentrated on the internals: recompilation control, memory reduction on concatenation, type-table consistency between tokens and dfm objects. The newest release adds tokens_recompile() for explicit ID reassignment, stops query functions from recompiling implicitly, and returns dense rather than sparse tensors from as.tensor() with arguments passed through to torch.
Two threads run in parallel. The dominant one is performance and correctness housekeeping on the tokens_xptr representation introduced in 4.0 — each release closes another case where the external-pointer path diverged from the plain tokens path. The quieter thread points outward: as.matrix() returning a document-by-position integer matrix and as.tensor() handing off to torch::torch_tensor() make the tokenised corpus directly consumable by neural models rather than only by quanteda's own bag-of-words machinery.
The tensor and matrix export path is the least mature part of the surface and gained arguments in this release rather than settling, so expect further work there before the token internals change again.
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 moderndive or quanteda.
The R client for PurpleAir sensors keeps finding its time-averaging was wrong.
A board game graphics package runs one of the most disciplined deprecation cycles in R.
The explainable-ensemble-tree package now measures whether its own explanations are faithful.
The discrete-data FDR package is being pared into one piece of a larger multiple-testing suite.
A scientific-text analysis package moved from counting citations to classifying argument structure.
The teaching arm of an R reliability suite keeps pace with whatever its analysis siblings ship.
See all moderndive alternatives → · See all quanteda alternatives →
Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.
Both compete on the same themes — r-package — within Analytics. moderndive and quanteda are shipping at a similar cadence (velocity 2.5 vs 2.5, 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. moderndive and quanteda are shipping at a similar cadence (velocity 2.5 vs 2.5, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.
Top moderndive alternatives in Analytics are ranked by recent ship velocity. Browse the "moderndive alternatives" section above for the current picks, or visit /alternatives/moderndive for the full list with editorial commentary on each.
Top quanteda alternatives in Analytics are ranked by recent ship velocity. Browse the "quanteda alternatives" section above for the current picks, or visit /alternatives/quanteda for the full list with editorial commentary on each.