-
Notifications
You must be signed in to change notification settings - Fork 991
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
Control-Z as EOF #1612
Comments
some |
Yeah, as said, "removing that character from the end of the file resolves the problem" :) But I though it's worth reporting as others might have the very same issue. Not high-priority for sure. |
It would be great if fread could remove it automatically. |
How can we install version 1.10.6? |
Version 1.10.6 hasn't been released yet. There is only 1.10.4 on CRAN, and the "dev" version (1.10.5) -- which is based on the master branch in this repo. |
I said it because I read "mattdowle added this to the v1.10.6 milestone". I thought we could try it in the dev version in some way. |
@skanskan When last number is odd, that's the dev release. v1.10.5 will be renamed v1.10.6 when it is released to CRAN. Otherwise we all get confused when we grab the dev at different times. It is only possible to obtain an even numbered version number from CRAN and is a guaranteed checkpoint. |
Some CSV files generated on MS DOS/Windows, can have
^Z
as the end-of-file character as eg at https://www.treasury.gov/ofac/downloads/sdn.csv which results in an error when callingfread
:Removing that character from the end of the file resolves the problem.
Session info:
But I can reproduce this problem with the most recent dev version of
data.table
as well at 6f58f5c.The text was updated successfully, but these errors were encountered: