Warning message: line appears to contain embedded nulls [duplicate]
I faced similar issue recently where I received an error message like:
1: In read.table(file = file, header = header, sep = sep, quote = quote, : line 3 appears to contain embedded nulls.
I tried resetting the fileEncoding parameter but failed to remove the warnings. Fortunately, I came across SkipNul argument mentioned in this link and setting it to T worked for me.