I am running cmdstan 2.21 on Linux then scp to Windows and try to use read_stan_csv. Pretty often (but not always) I receive the message below. Any advice how to get around? Maybe scp needs some parameter?
Error in row.buffer[buffer.pointer, ] <- scan(con, nlines = 1, sep = “,”, :
number of items to replace is not a multiple of replacement length
In addition: Warning message:
In scan(con, nlines = 1, sep = “,”, quiet = TRUE) :
embedded nul(s) found in input