-
Notifications
You must be signed in to change notification settings - Fork 979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If bit64 isn't loaded, print.data.table() should warn if there are any integer64 columns present. #975
Comments
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. What doesn't this warning address? |
Yes it seems this warning was already there for a long time, at least 2012. |
Suggested by Stephen McInerney in person after Bay Area R User Group meetup, Nov 2014.
It's a simple if() and would avoid apparent "garbage/corruputed" data when in fact all that's needed is to require(bit64) for correct printing.
The text was updated successfully, but these errors were encountered: