Skip to content

Commit 8efbcd0

Browse files
Comment for posterity
1 parent 7a87706 commit 8efbcd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/data.table.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2988,6 +2988,7 @@ setDT = function(x, keep.rownames=FALSE, key=NULL, check.names=FALSE) {
29882988
.Call(CsetS4elt, k, as.character(name[[3L]]), x)
29892989
}
29902990
} else if (name %iscall% "get") { # #6725
2991+
# edit 'get(nm, env)' call to be 'assign(nm, x, envir=env)'
29912992
name = match.call(get, name)
29922993
name[[1L]] = quote(assign)
29932994
name$value = x

0 commit comments

Comments
 (0)