We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The data.table interface to names don't seem to support making one NA, but if it does happen, it cannot be fixed with setnames(x, new):
setnames(x, new)
x = setNames(data.frame(a = 1, b = 2), c(NA, "b")) library(data.table) setDT(x) setnames(x, c("a", "b")) names(x) # [1] NA "b"
From user3496254 SO: https://stackoverflow.com/questions/47228836/r-data-table-bug-cannot-rename-column-names-which-are-na
The text was updated successfully, but these errors were encountered:
Closes #2475 -- setnames on a table with NA names works as expected
bb82d78
Closed by #2477 thanks to @MichaelChirico
Sorry, something went wrong.
No branches or pull requests
The data.table interface to names don't seem to support making one NA, but if it does happen, it cannot be fixed with
setnames(x, new)
:From user3496254 SO: https://stackoverflow.com/questions/47228836/r-data-table-bug-cannot-rename-column-names-which-are-na
The text was updated successfully, but these errors were encountered: