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
If I want to change all the column names except the first, for example, currently I have to do something like
DT <- data.table(x = 1:3, y = 4:6, z = 7:9) setnames(DT, seq_along(DT)[-1], c("m", "n"))
It would be convenient if I could pass negative integers to old, in order to write
old
setnames(DT, -1, c("m", "n"))
The text was updated successfully, but these errors were encountered:
516d07f
Minor fix in condition check, related to #1443 fix.
1d7abd4
arunsrinivasan
No branches or pull requests
If I want to change all the column names except the first, for example, currently I have to do something like
It would be convenient if I could pass negative integers to
old
, in order to writeThe text was updated successfully, but these errors were encountered: