001、R语言出现如下报错:
读取的项目数必需是列数的倍数
> egg <- read.table("XXX.emapper_reformat.annotations",sep="\t",header=T) Warning messages: 1: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : EOF within quoted string 2: In scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : 读取的项目数必需是列数的倍数
002、解决方法增加:quote=""选项
egg <- read.table("XXX.emapper_reformat.annotations",sep="\t",header=T, quote = "")
。
标签:读取,项目数,必需,倍数,列数,egg From: https://www.cnblogs.com/liujiaxin2018/p/18095516