-
Notifications
You must be signed in to change notification settings - Fork 979
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 #2296] Copy-on-:= at column level, DT[,list(...)] shallow copy and add cols to shallow(DT, cols) #617
Labels
Comments
@mattdowle, the idea we recently discussed is already here (and written here in an even better fashion). Would be great to have this for next release! Also in my wish list for |
arunsrinivasan
added a commit
that referenced
this issue
Nov 1, 2014
This was referenced Nov 17, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link
Export
shallow()
.would add reference counter attribute. (Both
DT2[1,a:=5L]
ANDDT[1,a:=5L]
would need to copy a. Maybe the ExternalPointer destructor could decrement as well, so arm(DT2)
would automatically takeDT
back to being the sole copy.Then with this in place,
could do shallow copies, too. See TO DO in source.
In the meantime, allow
shallow()
to accept a subset of columns and then use it induplicated.R
to save the copies of the by columns there. Upped priority for this part (easier).The text was updated successfully, but these errors were encountered: