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

后端 未结 6 1216
[愿得一人]
[愿得一人] 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:38

    A non-technical way to solve this would be, to

    1. Open the problematic .csv

    2. Ctrl+A (Select all)

    3. Open new Excel sheet

    4. Right click and choose 'Paste as values'

    5. Save and use this file in place of original one.

    Worked for me, and doesn't take much time.

提交回复
热议问题