Actually, using read.csv()
to read a file with text content is not a good idea, disable the quote as set quote=""
is only a temporary solution, it only worked with Separate quotation marks. There are other reasons would cause the warning, such as some special characters.
The permanent solution(using read.csv()
), finding out what those special characters are and use a regular expression to eliminate them is an idea.
Have you ever think of installing the package {data.table}
and use fread()
to read the file. it is much faster and would not bother you with this EOF warning. Note that the file it loads it will be stored as a data.table object but not a data.frame object. The class data.table has many good features, but anyway, you can transform it using as.data.frame()
if needed.