'Embedded nul in string' error when importing csv with fread

后端 未结 6 1218
[愿得一人]
[愿得一人] 2020-11-29 08:56

I have a large file (3.5G) that I\'m trying to import using data.table::fread.

It was originally created from an rpt file that was opened as text and sa

6条回答
  •  借酒劲吻你
    2020-11-29 09:46

    If you are seeing NUL (x00) characters in an ASCII file you can do this: data.table::fread(text = readLines(pathIn, skipNul = T), ...)

提交回复
热议问题