← Back to home
Comparison · Analytics

ggsurvfit vs mirai

A side-by-side editorial comparison of ggsurvfit and mirai — release velocity, themes, recent moves, and the top alternatives to consider.

ggsurvfit vs mirai: at a glance

Featureggsurvfitmirai
SectorAnalyticsAnalytics
Velocity score2.52.5
Sparks · 30d00
Top themessurvival-analysis, ggplot2, competing-risks, clinical-plotsparallel-computing, async, backpressure, shiny
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is ggsurvfit?

ggsurvfit is in correctness-and-compatibility mode, not feature mode.

The package draws survival and cumulative-incidence curves on a ggplot2 grammar, with risk tables, p-values and quantile annotations. Recent releases are entirely fixes and upstream tracking: ggplot2 v4.0.0 compatibility in 2025, and a 2026 patch correcting a Gray-test p-value that could be reported for the wrong competing event.

Read the full ggsurvfit trajectory →

What is mirai?

mirai removed its dispatcher process and added memory backpressure to the queue.

The async evaluation framework releases roughly monthly and moves fast at the architecture level. In 2.7.0 the dispatcher stopped being a separate process and became a thread, after its loop had already been rewritten in C inside nanonext one release earlier. The same release added an opt-in memory budget for queued task payloads and try_mirai(), which returns NULL immediately rather than blocking when that budget is exhausted.

Read the full mirai trajectory →

ggsurvfit vs mirai: editorial side-by-side

G
ggsurvfit
ANALYTICS
2.5

ggsurvfit is in correctness-and-compatibility mode, not feature mode.

◆ Current state

The package draws survival and cumulative-incidence curves on a ggplot2 grammar, with risk tables, p-values and quantile annotations. Recent releases are entirely fixes and upstream tracking: ggplot2 v4.0.0 compatibility in 2025, and a 2026 patch correcting a Gray-test p-value that could be reported for the wrong competing event.

◆ Where it's heading

The feature surface settled around 1.0.0, when risk-table alignment was exported and colour and linetype defaults became configurable. Since then the work is keeping pace with survival, ggplot2 and tidycmprsk changes, and closing cases where the plotted curve and the annotation disagreed — the p-value matched by position rather than name, confidence limits swapped for multi-state models, quantiles read off a plateau.

◆ Prediction

Expect the next release to track upstream survival or ggplot2 changes rather than add plotting features; the CDISC censoring convention adopted in Surv_CNSR() suggests further alignment with clinical data standards is the likelier direction.

M
mirai
ANALYTICS
2.5

mirai removed its dispatcher process and added memory backpressure to the queue.

◆ Current state

The async evaluation framework releases roughly monthly and moves fast at the architecture level. In 2.7.0 the dispatcher stopped being a separate process and became a thread, after its loop had already been rewritten in C inside nanonext one release earlier. The same release added an opt-in memory budget for queued task payloads and try_mirai(), which returns NULL immediately rather than blocking when that budget is exhausted.

◆ Where it's heading

Two threads of work run together: cutting overhead out of the task path — thread-based dispatcher, in-process transport for synchronous daemons, lower per-element dispatch cost in mirai_map() — and making the framework safe to embed in an event loop, where blocking the host R thread is not acceptable. Deployment reach is growing too, with http_config() launching remote daemons over HTTP APIs and auto-configuring for Posit Workbench. Each release pins a minimum nanonext version, so the two packages advance as one unit.

◆ Prediction

With backpressure in place but opt-in, the open question these notes leave is whether a default memory budget arrives; continued overhead reduction and Shiny-facing non-blocking paths are the safer bet.

Alternatives to ggsurvfit and mirai

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 ggsurvfit or mirai.

See all ggsurvfit alternatives → · See all mirai alternatives →

Recent activity from ggsurvfit and mirai

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 20d agoggsurvfitGray-test p-values matched to the plotted outcome by name
  2. 25d agomiraiMap collection and daemon lifecycle fixes
  3. 2mo agomiraiAgent skill ships in-package; HTTP headers take over auth
  4. 3mo agomiraiDispatcher becomes a thread, and the queue gains a memory budget
  5. 5mo agomiraiParallel RNG seeding leaves experimental status
  6. 6mo agomiraiRemote daemons over HTTP, and a C dispatcher loop
  7. 8mo agomiraiTelemetry span timing and daemon-switch fix
  8. 10mo agoggsurvfitggplot2 v4.0.0 compatibility and multi-state CI label fix
  9. 2y agoggsurvfitNegative follow-up times and a cloglog transformation
  10. 2y agoggsurvfitAesthetic defaults become switchable and alignment is exported
  11. 2y agoggsurvfitConfidence limits corrected for monotonicity-reversing transforms
  12. 3y agoggsurvfitGlue syntax in risk tables and coxph model support

Frequently asked questions

What is the difference between ggsurvfit and mirai?

They serve adjacent needs but don't currently overlap on shipped themes. ggsurvfit and mirai 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.

Is ggsurvfit better than mirai?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggsurvfit and mirai 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.

What are the best alternatives to ggsurvfit?

Top ggsurvfit alternatives in Analytics are ranked by recent ship velocity. Browse the "ggsurvfit alternatives" section above for the current picks, or visit /alternatives/ggsurvfit for the full list with editorial commentary on each.

What are the best alternatives to mirai?

Top mirai alternatives in Analytics are ranked by recent ship velocity. Browse the "mirai alternatives" section above for the current picks, or visit /alternatives/mirai for the full list with editorial commentary on each.