There is a bug in write.csv.raw() with this line:
|
cr = rawToChar(as.output(matrix(colnames(x),nrow=1),sep = sep)) |
rawToChar() is not necessary and creates a bug: writeBin() adds a null character at the end of the output if the input is a character. The file cannot be read with read.csv.raw() because the first character of the data is null (at the end of the columns names after \n).
There is a bug in write.csv.raw() with this line:
iotools/R/local.R
Line 135 in d418a82
rawToChar() is not necessary and creates a bug: writeBin() adds a null character at the end of the output if the input is a character. The file cannot be read with read.csv.raw() because the first character of the data is null (at the end of the columns names after \n).