A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tidyverse/dplyr/issues/4615 below:

No way to remove duplicate column names · Issue #4615 · tidyverse/dplyr · GitHub

Some joins will allow a tibble to end up with two columns with identical names. Doing any sort of tidyselect operation on the tibble results in:

Error: Can't bind data because some arguments have the same name

However, there doesn't appear to be any way to remove the duplicated column. It seems to me that using select(-matches("duplicate name")) or select(-contains("duplicated name")) ought to work since they allow catching multiples. In addition, selecting based on the index should also work. If columns 100 and 101 have the same name, I should be able to select(-101) however these all result in the same Error: Can't bind data because some arguments have the same name


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4