Excel is adding a unicode character to a summary file I save from r as a .csv, where it adds "¬" in front of "±". Is there a way to edit the r script to prevent this?
cola <- c("a", "b", "c")
colb <- c("1", "2 ± 0.2", "3")
exampledf <- t(as.data.frame(rbind(cola, colb)))
write.csv(x = exampledf, file = "exampledf.csv", row.names = FALSE)
In R, this dataframe looks fine, but in excel it shows this:
cola colb
a 1
b 2 ± 0.2
c 3

fileEncodingparameter? See (eg) stackoverflow.com/questions/63754899/…