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 #5384] fread() fail to deal with missing values in integer64 columns #488
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.
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.
Activity
richierocks commentedon Mar 15, 2015
I've just fallen over this bug too. To reproduce:
pstoyanov commentedon Mar 15, 2015
Thank you (for this and all the other excellent work).
richierocks commentedon Mar 17, 2015
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.
To reproduce:
In this example missing values still show as 9218868437227407266 in
xbut they are correctly missing iny.arunsrinivasan commentedon Mar 17, 2015
Thanks, will take a look asap.
arunsrinivasan commentedon Mar 17, 2015
Please write back if this is still not resolved.