Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Add a pillar.max_chars option #649

Open
olivroy opened this issue Jun 14, 2023 · 1 comment
Open

FR: Add a pillar.max_chars option #649

olivroy opened this issue Jun 14, 2023 · 1 comment

Comments

@olivroy
Copy link
Contributor

olivroy commented Jun 14, 2023

Hello, I was wondering if it was possible to add an option to limit the number of characters printed in a tibble.

I set pillar.min_title_chars to a lower number, and then the column with a long text and a short column name takes up all the space.

I was wondering if it was possible to limit the number of characters printed, like with decimals.
pillar.max_dec_width

Thanks

@olivroy
Copy link
Contributor Author

olivroy commented May 8, 2024

Also would be great for glimpse().

A long variable may make the summary less informative.

mtcars |> dplyr::mutate(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx = 1) |> pillar::glimpse()

The long variable removes information from glimpse() output..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant