Skip to content
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

"Stopped reading at empty line" warning in fread should not appear if sep and nrows args specified #1330

Closed
richierocks opened this issue Sep 13, 2015 · 0 comments
Assignees
Milestone

Comments

@richierocks
Copy link

If I explicitly specify the sep and nrows arguments in a call to fread, then it means I typically have a non-standard file format that contains a section of delimited file + plus some other metadata or junk.

In this case, it is common (at least for me) for the data portion to be in the middle, with extra content afterwards. That means that I frequently receive the erroneous warning

Stopped reading at empty line 123 but text exists afterwards (discarded)

I don't want to suppressWarnings since I could miss other, genuine warnings.

It would be really useful if fread assumed that by specifying both the sep and nrows arguments, the user knows that they aren't necessarily going to read to the end of the file, and that this warning is not shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants