I have a text file with Byte order mark (U+FEFF) at the beginning. I am trying to read the file in R. Is it possible to avoid the Byte order mark?
The function
This was handled between versions 1.9.6 and 1.9.8 with this commit; update your data.table installation to fix this.
data.table
Once done, you can just use fread:
fread
fread("file_name.csv")