Something unusual is happening to me with a code that I have written in R. I have not changed anything in the code but today when I ran it, when writing the file it begins to write it well until a point (random), where R changes the format of a column of a data.table of character to numeric.
I have run it several times and R always change the format of the column, but in different points of the file.
function with i wrote is
write.table(table,gzfile(paste("~/NameFile.csv.gz",sep = "")), row.names = F, sep = "|;|", quote = F, dec = ",")
what can i do?