data<-read.csv("try.csv", header=T)
make.names(col.names, unique=TRUE)
Error in : 'Sano' contains invalid multi-byte characters
appears.For character encoding,
data<-read.csv("try.csv", header=T, fileEncoding="utf-8")
If so, an error will also cause an error.How do I resolve this?
r csv
You can explicitly convert the CSV file to UTF-8 using a text editor, or specify fileEncoding="CP932" if your environment is MacOS.
© 2024 OneMinuteCode. All rights reserved.