I'm new to R software
Now, learning about word processing using the tm package
I have ploblem when displaying text in lowercase
sms_raw<-read.csv(............)
sms_corpus<-Corpus(VectorSource(sms_raw$text))
sms_corpus<-Corpus(VectorSource(sms_raw$text))
tm_map(sms_corpus,content_transformer(tolower))
error:invalid multubytes string 1
I thought my csv file could not be utf-8, so I restored it as utf-8, but it did not work.
my OS is win8.1
Does anyone have a solution on this issue, please let me know.
source
share