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

options(datatable.prettyprint.char) is not documented #5994

Closed
MichaelChirico opened this issue Mar 13, 2024 · 0 comments · Fixed by #6005
Closed

options(datatable.prettyprint.char) is not documented #5994

MichaelChirico opened this issue Mar 13, 2024 · 0 comments · Fixed by #6005
Assignees

Comments

@MichaelChirico
Copy link
Member

          Thanks for the investigation! I confirm your findings and agree that it may not be so simple as just changing to `type='width'`. `substr()` is also involved; note this from `?substr`:

These functions are often used with nchar to truncate a display. That does not really work (you want to limit the width, not the number of characters, so it would be better to use strtrim), but at least make sure you use the default nchar(type = "c").

PS, it seems options(datatable.prettyprint.char) is completely undocumented, so we should address that too.

Originally posted by @MichaelChirico in #5096 (comment)

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

Successfully merging a pull request may close this issue.

2 participants