I am trying to import a csv file in r, with the code:
read.table(file.choose(), header=T, sep=",")
and read.csv(file.choose(), header=T)
but I got the next error: Error in make.names(col.names, unique = TRUE) : invalid multibyte string 7
I tried to solve this with the next code:
Sys.setlocale("LC_CTYPE", "English")
But it gave me some unexpected output. Can somebody give me some feedback or suggestion what to do? The output says:
Warning message:
In Sys.setlocale("LC_CTYPE", "English") : using locale code page other than 65001 ("UTF-8") may cause problems