← Back to home
Comparison · Analytics

lobstr vs textshaping

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

Shared themes:r-package

lobstr vs textshaping: at a glance

Featurelobstrtextshaping
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesr-lib, introspection, memory, c-apitypography, text-shaping, bidi, graphics-stack
Last editorial update2h ago1h ago
WebsiteVisit →Visit →

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 →

What is textshaping?

Rewrote its shaping engine for bidirectional text, then spent a year fixing what that broke.

textshaping is the text layout layer beneath R's modern graphics stack, feeding ragg, ggplot2 and marquee. Version 1.0.0 rewrote the shaping engine to honour the global direction of text, adding a direction argument that defaults to automatic detection, align settings that resolve against that direction, and ICU-based soft break locations that handle ideographic scripts properly. The five releases since have been consecutive bug fixes against that rewrite — bidi embedding arrangement, line positioning with mixed sizes, a weak hash in the shape cache, a signed integer overflow, and font fallback regressions.

Read the full textshaping trajectory →

lobstr vs textshaping: editorial side-by-side

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.

T
textshaping
ANALYTICS
0.0

Rewrote its shaping engine for bidirectional text, then spent a year fixing what that broke.

◆ Current state

textshaping is the text layout layer beneath R's modern graphics stack, feeding ragg, ggplot2 and marquee. Version 1.0.0 rewrote the shaping engine to honour the global direction of text, adding a direction argument that defaults to automatic detection, align settings that resolve against that direction, and ICU-based soft break locations that handle ideographic scripts properly. The five releases since have been consecutive bug fixes against that rewrite — bidi embedding arrangement, line positioning with mixed sizes, a weak hash in the shape cache, a signed integer overflow, and font fallback regressions.

◆ Where it's heading

The package has moved from Latin-first layout to script-agnostic layout in two rewrites, 0.4.0 and 1.0.0, and is now in the long correctness tail that follows. The bug reports arriving from ggplot2, ragg and marquee issue numbers show how it works in practice: textshaping bugs surface as rendering defects in the packages above it, which is why so many fixes here cite another package's issue tracker.

◆ Prediction

Expect continued fixes driven by downstream rendering reports rather than new layout features, as the 1.0.x series stabilises. The font fallback path has produced two of the recent bugs and is the most likely source of the next.

Alternatives to lobstr and textshaping

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

See all lobstr alternatives → · See all textshaping alternatives →

Recent activity from lobstr and textshaping

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

  1. 5mo agotextshapingFixes reverting between font fallbacks
  2. 5mo agolobstrNew src() for srcrefs; environment bindings stop erroring
  3. 9mo agolobstrtruelength reporting dropped for public C API compliance
  4. 9mo agotextshapingGuards against freetype version mismatches with systemfonts
  5. 11mo agotextshapingFixes a signed integer overflow in the previous fix
  6. 11mo agotextshapingFixes bidi single-line shaping and a weak shape-cache hash
  7. 1y agotextshapingFixes hard line breaks across multiple embeddings
  8. 1y agotextshapingShaping engine rewritten to honour global text direction
  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 lobstr and textshaping?

Both compete on the same themes — r-package — within Analytics. lobstr and textshaping 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.

Is lobstr better than textshaping?

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

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.

What are the best alternatives to textshaping?

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