-
Notifications
You must be signed in to change notification settings - Fork 999
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
[R-Forge #2110] Add . and .. symbol prefixes and inherits=FALSE for strict scope #633
Comments
would be useful here : |
Once version 10.2 is released (if not before), we should revisit this answer to remove the mention of |
It'd be nice to be able to use this feature and the ! notation for excluding columns in tandem. dt <- data.table(x = 1:10, y = rnorm(10), z = runif(10))
cols <- c('y', 'z')
dt[, !..cols] # should return col x |
I followed the SO issue here looking for this feature. Since, it is still experimental may I recommend that the syntax be changed from
|
Refer to #2186 for name mention under NEWS. |
Another SO post: https://stackoverflow.com/q/45387223/ |
Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link
inherits=FALSE would allow user to specify that j should use column names only, and if column name doesn't exist that should be error rather than possibly finding a match in calling scope.
..() is for the sub-join examples where the join goes in j and you want to refer to the columns in i not .SD. Something like that.
The text was updated successfully, but these errors were encountered: