when uploading csv  file to R, the file.csv should save as".csv" from". 
xls",if u just  modify suffix of files, files cannot be read .

BTW,who know the problem i meet, "strsplit(txt$Sentence,",|。|!|?|、")" how to 
understand this order~

> txt=read.csv("1988.csv",colClasses="character")
> sentences=strsplit(txt$Sentence,",|。|!|?|、")
Error in strsplit(txt$Sentence, ",|。|!|?|、") : 
  non-character argument


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to