data.table::fwrite

You've got some escape characters (backslashes) in the original -are they causing the problem?

I am still not the wiser.

I re-created the data above the same way it was first created. I have since saved it, opened it, binded it to the re-created data and saved it again nine times and there are no additional quotation marks.... stumped.

Screen Shot 2024-02-26 at 4.59.36 pm

Thanks to all, at least I knew all I had to do was delete the double quotations to get back to normalcy.

Just to confuse you further, try this on the original data. :smiling_imp:

DT <- fread("long_char.csv", drop = "r_name")
object.size(DT)
fwrite(DT, "long2.csv")

in that file I counted up the

characters in r_name - 90,878,263
double quotations in r_name - 89,915,392

:exploding_head: :rofl:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.