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

[R-Forge #5418] Add a hint that a file might just not exist to fread #486

Closed
arunsrinivasan opened this issue Jun 8, 2014 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@arunsrinivasan
Copy link
Member

Submitted by: Stefan Fritsch; Assigned to: Nobody; R-Forge link

Hi

Today, I tried to track a "mysterious" bug in fread when the code of one of my colleagues just stopped working with the error (by cmd.exe) that .. was not a recognized command, that some temp file was empty, etc.

The explanation was of course that she'd moved the .csv and that fread interpreted the path as a shell command because it couldn't find the file. It would be nice if that was added to the error message. E.g.:

Input does not seem to be a file or shell command.

Are you sure the file you want to open exists and there is no typo in the file name or command?
Trying to interpret the input parameter as a shell command returned the error:

# '..' is not recognized as an internal or external command,
# operable program or batch file."

Thanks a lot.

@mattdowle mattdowle added this to the v1.9.6 milestone Oct 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants