【已解决】R read.table()报错:incomplete final line found by readTableHeader

时间:2022-08-30 11:45:08
s2 <- read.table("E:/TEMP/da1.txt")
Warning message:
In read.table("E:/TEMP/da1.txt") :
incomplete final line found by readTableHeader

主要原因是最后一行没有换行(at the end of line press enter),意思就是换行到下一行的开头即可,就不会有警告信息了。


参考文章:http://blog.****.net/g090909/article/details/50008209