Skip to content

print.tbl_df should display columns for zero-row output #652

@wch

Description

@wch

As things work now, no columns names are printed for zero-row output, and this can be confusing for users. It requires using str() just to find out what the columns are. See rstudio/ggvis#293 for an example of this confusion.

as.tbl(mtcars[0, ])
# Source: local data frame [0 x 11]

Metadata

Metadata

Assignees

Labels

featurea feature request or enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions