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
I'm creating a package to make formattable data. It works nice with data.table in most cases, but in the following cases, data.table somehow shows inconsistent behavior:
In the first 2 cases and the last case, the formattable class and attributes is preserved, but in the 3rd case the balance derived from mean(balance) drops formattable numeric class while in other cases it does not behave in this way. I'm not sure if it is for some reason intended to work in this way but it pretty much looks like a bug.
I'm using the latest commit data.table@b6ea972 under R 3.2.0 and Win8.1 x64.
The text was updated successfully, but these errors were encountered:
renkun-ken
changed the title
Inconsistently droping class/attributes of column vector
Inconsistently dropping class/attributes of column vector
May 24, 2015
I'm creating a package to make formattable data. It works nice with
data.table
in most cases, but in the following cases,data.table
somehow shows inconsistent behavior:Then
p
looks likeThen I do some aggregation:
In the first 2 cases and the last case, the
formattable
class and attributes is preserved, but in the 3rd case thebalance
derived frommean(balance)
dropsformattable numeric
class while in other cases it does not behave in this way. I'm not sure if it is for some reason intended to work in this way but it pretty much looks like a bug.I'm using the latest commit
data.table@b6ea972
under R 3.2.0 and Win8.1 x64.The text was updated successfully, but these errors were encountered: