-
Notifications
You must be signed in to change notification settings - Fork 1k
Print Option: Print columns that fit in single console without wrapping #4074
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
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
c1a7c74
added "trunc.cols" option to print.data.table
e1c8767
commenting the code for print.data.table dt_width()
7bccbbd
fixed typo in tunc.cols option and update docs
7ebf6a7
typo in print.data.table
a89dda8
using x object to get widths and then using toprint in trunc.cols
fd9c8d9
fix missing message about vars not printed & small adjustment to dt_w…
90a9ff1
fixed missing arg to get widths
a9f47f0
added unit tests
debbbc6
resolved attribute issue with printing with trunc.cols with nrow(DT) = 1
22f4c9e
updated print.data.table doc
c5c0fe0
added classes to trunc.col message
ea4051f
updated tests for new print trunc.cols
3408884
added trunc.cols to NEWS.md
def64c7
Merge pull request #1 from TysonStanley/print_test
03f0356
expanded NEWS item
MichaelChirico 2bc1544
using toprint with dt_width to avoid coersion (and avoid using the fu…
f604791
fixed missing arg in dt_width
510b9a4
added \n to message
ca6105a
found lingering x intead of print in trunc.cols
1ef864c
fixed issue of additional space before comma in message
4631758
small adjustments to trunc.cols message
4927f69
drop=FALSE!!! and error message for too small of console
0624921
fix case where class=TRUE and col.names = "none" and update tests
3d0affa
add more trunc.col=TRUE tests
e6cc430
integers and Ls
4c467b2
Revisions to trunc.cols option in print.data.table
8025bad
added unit test for when console too small to print first column
bd11f04
simplified dt_width function
0869c95
faster rowname padding and simplified widths calculation
687f5ff
replace base::ifelse with pmax in dt_width
7848984
minor fix to dt_width and prints message only when console too small
0289bee
update message with more proper ngettext and a few minor adjustments
32f3b64
fixed typos in tests and added one
d85ec9a
use brackify to truncate large # of columns
MichaelChirico 037a5c9
update to tests
f8df273
Merge branch 'master' of https://github.com/TysonStanley/data.table
13ced05
removed an extra space and fixed tests
0c002dc
renamed tests so they are in order
45e7c41
Merge branch 'master' into print_test
020d56f
renamed tests so they are in order and fixed 2122.10
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.