Tibble 1.4.1 printing: truncation too aggressive, column headings misaligned

tibble

#1

I really miss the old tibble printing. I like the new colored output for smaller / narrower data. My data often gets truncated too aggressively to be useful, and column headings are often misaligned. Here’s an example.

Is there an option to get back the “old” tibble printing? I saw some github issues mentioning development versions of pillar that might help with some of these issues. But I’m about to start teaching a new class of grad students, and I’d like to maintain some consistency, even if that’s setting an option to default back to the old style printing.

DT6bDjXVwAEXo3v


#2

You can use the install_version() function from the devtools package.

require(devtools)
install_version("tibble", version = "1.3.4", repos = "http://cran.us.r-project.org")

#3

Please update the pillar package from CRAN. Version 1.1.0 adds a few options with defaults that fix misaligned columns (by turning off bold column headers by default) and truncation (by not truncating columns that are 15 characters or less wide). About to release a tibble update that will depend on pillar 1.1.0.


#4

Thanks, installed. That helps a ton. I didn’t see an option for truncation of chars. If the column header is much less than 15, the column is truncated so as to show only a few characters from the string. Possible to set width for the column, not just the column title?


#5

There’s a GitHub issue already: https://github.com/r-lib/pillar/issues/84