data <- read.table("/home/t5.txt",sep="\t", header = FALSE)
一个很常见的报错信息:
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
line 4981 did not have 3 elements
这个位置好像是有个引号引起的,去掉后正常,
然后报
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
line 16780 did not have 3 elements
这个位置就实在没有找到原因了