I want to read in a csv file with numbers such as 123.456 where the . is a thousands separator. However, R treats the . as a decimal separator and instead of 123456 it gives me 123.456. Is there an easier solution than the ones outlined in R - read csv with numeric columns containing thousands separator?
write("123.456", "number.csv")
read.csv("number.csv", header = F, stringsAsFactors = F)