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
I ran into a similar error, sharing in case others run into the same issue -
embedded nul in string: '\0HA\xa8S\001\0\0\0\xd8@\xa8S\001\0\0\0h@\xa8S\001\0\0\0\xf8?\xa8S\001\0\0\0\x88'
Calls: as.data.table -> fread
The cause of this ended up being different column lengths where my first column (headers) were shorter than the rest.