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

print.tbl_df mungles duplicate column names #1159

blasern opened this issue May 21, 2015 · 0 comments

print.tbl_df mungles duplicate column names #1159

blasern opened this issue May 21, 2015 · 0 comments


Copy link

blasern commented May 21, 2015

Duplicated column names are made unique (call to make.unique) before printing. This is related to Issue #820 and Issue 896, where the duplicated column names cause additional problems. Part of the problems to these issues is that they are harder to notice because of the printing issue.

# create data frame with duplicate column names
df <- data.frame(x = 1, x = 2, check.names = FALSE)
##   x x
## 1 1 2
## Source: local data frame [1 x 2]

##   x x.1
## 1 1   2
@hadley hadley closed this as completed Aug 24, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jun 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

No branches or pull requests

2 participants