Answer the question
In order to leave comments, you need to log in
Why doesn't R read Cyrillic in tables?
I'm trying to import a .csv table into R studio, I get an error about the content of a multi-byte string, in general it doesn't read Cyrillic, with tables where Latin characters are fine, actually how to fix it?
Answer the question
In order to leave comments, you need to log in
Try using the `encoding` argument, and specify in it the encoding of the file from which you are reading data.
read.csv("http://home.ustc.edu.cn/~lanrr/data.csv", encoding = "UTF-8")
read.csv("http://home.ustc.edu.cn/~lanrr/data.csv", encoding = "1251")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question