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
When we subset a data.table, it is supposed to copy the resulted columns. However, it seems that whether they are copied depends on the number of rows of the original data.table. Here's an example:
When we subset a data.table, it is supposed to copy the resulted columns. However, it seems that whether they are copied depends on the number of rows of the original data.table. Here's an example:
The following are the results produced on my machine:
It looks like
dt[TRUE]
,dt[1L]
anddt[cond]
are not always consistent in terms of copy behavior even when the results are the same.My session info:
The text was updated successfully, but these errors were encountered: