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
The resulting data.table has "9218868437227407266" instead of "NA" in columns 8 and 9. Only str() prints these as NA, everything else I tried sees them as numeric values (min, max, sum, etc). Then again str() prints out the fourth element of column 8 as "1.55e-314" instead of "3127133583".
I posted this first here on StackOverflow but it did not generate any interest for 2 weeks, so I've linked it here as well.
The text was updated successfully, but these errors were encountered:
Thanks for this. The fix isn't quite complete though. It works when fread correctly auto-detects the column classes, but not when it has to bump a column to integer64.
Submitted by: Peter Stoyanov; Assigned to: Nobody; R-Forge link
Using
fread()
to read in the data below yields strange results forNA
values in columns whichfread()
detects asinteger64
. All other columns are OK:The resulting
data.table
has "9218868437227407266" instead of "NA" in columns 8 and 9. Onlystr()
prints these asNA
, everything else I tried sees them as numeric values (min
,max
,sum
, etc). Then againstr()
prints out the fourth element of column 8 as "1.55e-314" instead of "3127133583".I posted this first here on StackOverflow but it did not generate any interest for 2 weeks, so I've linked it here as well.
The text was updated successfully, but these errors were encountered: