Learn R Programming

volker (version 3.2.0)

.knit_shorten: Compact table printing with shortened names and values

Description

Truncates long column names and long character values, for more readable console output.

Usage

.knit_shorten(df)

Value

A data fram with shortened column names and cell content.

Arguments

df

A data frame or tibble.

Details

The default column name length is 30 and the cell values length is 40. Override with options(vlkr.trunc.columns=20) and options(vlkr.trunc.cells=20).