← Back to home
Comparison · Analytics

gghighlight vs vecvec

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

Shared themes:r-package

gghighlight vs vecvec: at a glance

Featuregghighlightvecvec
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, data-visualisation, ggplot-extension, upstream-compatr-package, data-structures, s7, vctrs
Last editorial update1h ago6h ago
WebsiteVisit →Visit →

What is gghighlight?

A single-purpose ggplot2 extension that has spent six years tracking ggplot2 instead of growing.

gghighlight adds one verb to ggplot2: highlight the series matching a predicate and grey out the rest, with unhighlighted_params controlling how the shadowed layer renders and calculate_per_facet deciding whether the predicate evaluates within facets. The API settled at 0.2.0; the 0.5.0 release supports ggplot2 v4.0 including its ink and paper theme elements, and finally deletes gghighlight_point() and gghighlight_line().

Read the full gghighlight trajectory →

What is vecvec?

A vector-of-vectors class swapped its object system mid-flight and came out faster.

vecvec provides an R class that holds multiple vectors as a single logical vector without copying them together, aimed at cases where concatenating would be wasteful. The 1.0.0 rewrite moved the class off vctrs onto S7 while keeping user-facing code working, and added matrix and array behaviour. Recent releases have concentrated on the details that decide whether the abstraction actually saves work: ALTREP vectors surviving intact, subassignment edge cases, and printing that does not materialise what it is describing.

Read the full vecvec trajectory →

gghighlight vs vecvec: editorial side-by-side

G
gghighlight
ANALYTICS
0.0

A single-purpose ggplot2 extension that has spent six years tracking ggplot2 instead of growing.

◆ Current state

gghighlight adds one verb to ggplot2: highlight the series matching a predicate and grey out the rest, with unhighlighted_params controlling how the shadowed layer renders and calculate_per_facet deciding whether the predicate evaluates within facets. The API settled at 0.2.0; the 0.5.0 release supports ggplot2 v4.0 including its ink and paper theme elements, and finally deletes gghighlight_point() and gghighlight_line().

◆ Where it's heading

Two threads run through the history. One is a slow deprecation, from soft-deprecating the geom-specific functions at 0.1.0, to defunct at 0.3.0, to removed at 0.5.0 — a five-year removal cycle. The other is compatibility work: purrr 1.0.0, dplyr's across() deprecation, ggplot2 3.4.0, then 4.0. Genuine feature additions are rare and small, with line_label_type at 0.4.0 the last one. Note that 0.3.2's notes restate 0.3.1's n() item, so adjacent tags here overlap rather than each describing distinct work.

◆ Prediction

The next release most likely absorbs further ggplot2 4.x changes, given that is what triggered the last three. Nothing in the entries points to a new highlighting capability.

V
vecvec
ANALYTICS
0.0

A vector-of-vectors class swapped its object system mid-flight and came out faster.

◆ Current state

vecvec provides an R class that holds multiple vectors as a single logical vector without copying them together, aimed at cases where concatenating would be wasteful. The 1.0.0 rewrite moved the class off vctrs onto S7 while keeping user-facing code working, and added matrix and array behaviour. Recent releases have concentrated on the details that decide whether the abstraction actually saves work: ALTREP vectors surviving intact, subassignment edge cases, and printing that does not materialise what it is describing.

◆ Where it's heading

The arc runs from proving the idea to making it cheap. Early releases established constructors and vctrs dispatch; 1.0.0 rebuilt the internals on S7 with a smaller, faster representation and automatic flattening of adjacent compatible vectors; the two releases since have been about not defeating the point — an ALTREP vector flattened on construction or materialised by a print method gives back exactly the memory the class exists to save. Extensibility is the other visible thread, with custom ptype2 and cast methods now registrable and extension packages expected to subclass class_vecvec. The internal index structure is explicitly reserved for future change, so faster special-case representations look planned rather than incidental.

◆ Prediction

The reserved internal structure and the stated intent to accommodate faster variants point at specialised representations for particular vector types next; the entries do not indicate which cases are queued first.

Alternatives to gghighlight and vecvec

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 gghighlight or vecvec.

See all gghighlight alternatives → · See all vecvec alternatives →

Recent activity from gghighlight and vecvec

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

  1. 1mo agovecvecExtension packages can register their own ptype and cast methods
  2. 1mo agovecvecALTREP vectors survive construction and printing intact
  3. 3mo agovecvecThe class is rebuilt on S7, with a new internal representation
  4. 4mo agovecvecMissing value handling fixed for is.na()
  5. 11mo agovecvecArithmetic and per-vector apply arrive
  6. 11mo agovecvecFirst release: constructors and vctrs dispatch
  7. 1y agogghighlightggplot2 v4.0 support; geom-specific functions removed
  8. 2y agogghighlightTest expectations updated for upcoming ggplot2
  9. 3y agogghighlightline_label_type adds geomtextpath and second-axis labelling
  10. 4y agogghighlightDeprecated dplyr::across() usage removed
  11. 5y agogghighlightExplicit NULL in unhighlighted_params preserved; aesthetic name clash fixed
  12. 5y agogghighlightDiscrete-scale labels and n() predicates

Frequently asked questions

What is the difference between gghighlight and vecvec?

Both compete on the same themes — r-package — within Analytics. gghighlight and vecvec 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 gghighlight better than vecvec?

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

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

What are the best alternatives to vecvec?

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