Given an improperly written csv (empty-field.csv):
When I run:
I get the error (as expected):
Error in fread("~/sandbox/empty-field.csv") :
Expecting 2 cols, but line 3 contains text after processing all cols. Try again with fill=TRUE. Another reason could be that fread's logic in distinguishing one or more fields having embedded sep=',' and/or (unescaped) '\n' characters within unbalanced unescaped quotes has failed. If quote='' doesn't help, please file an issue to figure out if the logic could be improved.
However, when I go to edit empty-field.csv (in Sublime Text 3), I get the error message
Unable to save empty-field.csv
Error: The requested operation cannot be performed on a file with a user-mapped section open.
Closing and reopening Sublime Text 3 does not solve the problem: R has to be closed. I encounter a similar error message with Notepad++, but I do not encounter any problems with Notepad.
I'm using the dev version: data.table 1.10.5 IN DEVELOPMENT built 2017-02-09 02:16:47 UTC; travis
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
 LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252
 LC_NUMERIC=C LC_TIME=English_Australia.1252
attached base packages:
 stats graphics grDevices utils datasets methods base
other attached packages:
loaded via a namespace (and not attached):
The text was updated successfully, but these errors were encountered: