-
Notifications
You must be signed in to change notification settings - Fork 2
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
readdlm() cannot process empty file #9
Comments
It appears to be by design given that there's an explicit error for it. What behavior would you have expected? A 0x0 array? |
Cc @tanmaykm |
The problem is that We could provide a way to specify the number of columns, and not raise an error if it's set. Currently AFAIK |
I think 0x0 array is okay, because
|
0x0 array was definitely was definitely the behaviour that I expected, else what it returns in this case could be specified with a keyword (like :throwifempty or something?) |
a 0x0 array is also what i expected |
It seems like empty files might indicate errors, but no less so than arbitrarily truncated files (which we cannot detect). Do you want to make a PR to return a 0x0 Any array? |
reproduce:
Is this behavior by design?
The text was updated successfully, but these errors were encountered: