Software
Placeholder

pillar

Format columns with colour

R

pillar provides tools for styling and formatting columns of data in R, using color and unicode characters to improve readability. It powers the print and format methods for tibbles and other table-like objects.

This package is designed for developers who create custom vector classes or custom table classes, not for end-users directly. It provides generics and helpers that allow package authors to customize how their data types are displayed in tibbles through methods like pillar_shaft() for column formatting and tbl_sum() for table summaries. The package handles complex formatting decisions like number alignment, decimal placement, and visual styling automatically.

Contributors