I have a large file (3.5G) that I\'m trying to import using data.table::fread.
data.table::fread
It was originally created from an rpt file that was opened as text and sa
We can remove the null terminators on the command line using something like:
sed 's/\\0//g' mycsv.csv > mycsv.csv
Or as suggested by @marbel, fread allows you to pass the sed call inside the text. Such as:
fread("sed 's/\\0//g' mycsv.csv")