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
If bit64 isn't loaded, print.data.table() should warn if there are any integer64 columns present. #975
Trying the data linked in #810, this is what I get:
# Warning message:# In fread("810_fread.txt") :# Some columns have been read as type 'integer64' but package bit64 isn't loaded. # Those columns will display as strange looking floating point data. There is no need to # reload the data. Just require(bit64) to obtain the integer64 print method and print the # data again.
Yes it seems this warning was already there for a long time, at least 2012.
I guess then, and combined with this report, the suggestion was to add a warning in the print method too. Maybe integer64 columns were loaded from disk, created some other way, or the fread() warning simply missed. The overhead of checking the class attribute of all columns when bit64 is not loaded, shouldn't be a speed concern since it's only printing.
changed the title [-]When fread reads integer64 it could warn if bit64 isn't loaded[/-][+]If bit64 isn't loaded, print.data.table() should warn if there are any integer64 columns present.[/+]on Oct 21, 2015
Activity
arunsrinivasan commentedon Sep 8, 2015
Trying the data linked in #810, this is what I get:
What doesn't this warning address?
mattdowle commentedon Oct 21, 2015
Yes it seems this warning was already there for a long time, at least 2012.
I guess then, and combined with this report, the suggestion was to add a warning in the print method too. Maybe integer64 columns were loaded from disk, created some other way, or the fread() warning simply missed. The overhead of checking the class attribute of all columns when bit64 is not loaded, shouldn't be a speed concern since it's only printing.
[-]When fread reads integer64 it could warn if bit64 isn't loaded[/-][+]If bit64 isn't loaded, print.data.table() should warn if there are any integer64 columns present.[/+]arunsrinivasan commentedon Oct 29, 2015
Fixed in commit 9362c4d. Closes #975.