← Back to home
Comparison · Analytics

ggsurvfit vs lobstr

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

ggsurvfit vs lobstr: at a glance

Featureggsurvfitlobstr
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themessurvival-analysis, ggplot2, competing-risks, clinical-plotsr-lib, introspection, memory, c-api
Last editorial update1h ago49m 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 lobstr?

R's object inspector is losing its view of the internals as CRAN closes off the private C API.

lobstr exposes R's internal object representation — sizes, addresses, reference counts, abstract syntax trees. Its two most recent releases are both driven by R's move to a restricted public C API: 1.1.3 stopped reporting a vector's truelength and reworked the reference indicator into refs:n, and 1.2.0 changed what sxp(expand = "environment") shows in order to stay compliant. 1.2.0 also adds src() for exploring srcref objects.

Read the full lobstr trajectory →

ggsurvfit vs lobstr: 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.

L
lobstr
ANALYTICS
0.0

R's object inspector is losing its view of the internals as CRAN closes off the private C API.

◆ Current state

lobstr exposes R's internal object representation — sizes, addresses, reference counts, abstract syntax trees. Its two most recent releases are both driven by R's move to a restricted public C API: 1.1.3 stopped reporting a vector's truelength and reworked the reference indicator into refs:n, and 1.2.0 changed what sxp(expand = "environment") shows in order to stay compliant. 1.2.0 also adds src() for exploring srcref objects.

◆ Where it's heading

The package is being rebuilt inside a shrinking window of what R permits. Each release trades some introspection depth for API conformance while trying to keep the diagnostic value intact — showing promise expressions instead of internal frame structures, replacing named with a documented refs scale. Where the constraint does not bite, development continues normally: src() is genuinely new, and the environment-binding fixes remove long-standing errors on for-loop and immediate bindings.

◆ Prediction

Expect further conformance work, since the notes describe it as ongoing, with any remaining non-API-dependent readouts either reworked or dropped as R tightens further.

Alternatives to ggsurvfit and lobstr

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 lobstr.

See all ggsurvfit alternatives → · See all lobstr alternatives →

Recent activity from ggsurvfit and lobstr

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

  1. 20d agoggsurvfitGray-test p-values matched to the plotted outcome by name
  2. 5mo agolobstrNew src() for srcrefs; environment bindings stop erroring
  3. 9mo agolobstrtruelength reporting dropped for public C API compliance
  4. 10mo agoggsurvfitggplot2 v4.0.0 compatibility and multi-state CI label fix
  5. 2y agoggsurvfitNegative follow-up times and a cloglog transformation
  6. 2y agoggsurvfitAesthetic defaults become switchable and alignment is exported
  7. 2y agoggsurvfitConfidence limits corrected for monotonicity-reversing transforms
  8. 3y agoggsurvfitGlue syntax in risk tables and coxph model support
  9. 4y agolobstrMoves to cpp11, relicensed MIT, adds experimental tree()
  10. 7y agolobstrPROTECT error fixed
  11. 7y agolobstrALTREP sizes computed correctly; obj_addr() stops side-effecting

Frequently asked questions

What is the difference between ggsurvfit and lobstr?

They serve adjacent needs but don't currently overlap on shipped themes. ggsurvfit is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is ggsurvfit better than lobstr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggsurvfit is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. 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 lobstr?

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