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

arunsrinivasan opened this Issue Jun 8, 2014 · 0 comments


None yet
2 participants

arunsrinivasan commented Jun 8, 2014

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


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

@mattdowle mattdowle closed this in 70df217 Nov 12, 2014

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