Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upControl-Z as EOF #1612
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
^Zas 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.tableas well at 6f58f5c.