You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[R-Forge #5527] Different scoping rule when assigning by reference a new column #30
Submitted by: Michele Carriero; Assigned to: Arun ; R-Forge link
Given the following table dt:
dt<-data.table(id=1:5, var=letters[1:5])
If I need to retrieve programmatically a column I use eval(parse(text=variable)). But when the variable, containing (part of) the column name to retrieve, is also named alike another column in the table I have two different outcomes:
Activity