colorDF-package: colorDF – colorful data frames in your terminal

colorDF-packageR Documentation

colorDF – colorful data frames in your terminal

Description

colorDF – colorful data frames in your terminal

Details

colorDF allows you to view data frames using the color and styling capabilities of an ANSI terminal: 216 colors! 16 base colors! 24 shades of gray! Italic, bold, inverse and underline! Well, OK, this may not seem much, but in fact it allows at highlighting, showing different column types or coloring significant p-values in red. Trust me, it is useful if you work a lot with huge data frames.

colorDF does not really introduce a new type of a data frame; when applied to tibbles, data frames or data tables it does not change their behavior except for the print method. In other words, it is only a visualization layer on top of a data frame like object, which will otherwise work exactly as expected.

To get started, continue with the colorDF() help page.

Known issues

  • In Rstudio, inverse does not work correctly (known bug in Rstudio 1.3)

  • colorDF relies on the crayon package. In certain instances, the crayon package will enforce only 8 basic colors even if more colors can be displayed. See the vignette of colorDF for an example and on how to deal with this issue.

See Also

colorDF() on creating colorful data frames; global options for colorDF; df_style() on how to modify style of the colorful data frame; col_type() on how to change column types; colorDF_themes() to list all themes; colorDF_themes_show() to view all themes.


colorDF documentation built on Sept. 26, 2022, 5:06 p.m.