-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Description
While I like the <> in the column descs, I don't like it so much in the overall object description - I think it's a bit distracting.
So how about instead of:
<tibble [32 x 11]>
mpg cyl disp hp drat wt qsec vs am gear carb
* <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4
2 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4
3 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1
We have something like this:
# A tibble with 32 rows and 11 columns
mpg cyl disp hp drat wt qsec vs am gear carb
* <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4
2 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4
3 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1
Where "A tibble with ..." is generated by a new obj_desc() generic which would return a character vector giving a (potentially) multiple line textual description. print.tbl_df would add the # (and enough spaces to make it line up with the row numbers) and the new lines.
Metadata
Metadata
Assignees
Labels
No labels