R语言read.table()读入txt文本错误

来源:互联网 发布:js金融格式输出 编辑:程序博客网 时间:2024/06/07 00:45

EOF within quoted string

当读取文件出现以上警告信息时,说明文件内有\n,空格之类的标点符号,要忽略的话设置quote = ""

stopwords<- read.table("stopwords_cn.txt",header = F,encoding = 'utf-8',stringsAsFactors=F,quote = "")

原创粉丝点击