In read.table(): incomplete final line found by readTableHeader

前端 未结 7 2075
谎友^
谎友^ 2020-12-29 21:58

I have a CSV when I try to read.csv() that file, I get the warning warning message:

In read.table(file = file, header = header, sep = sep, quote         


        
7条回答
  •  盖世英雄少女心
    2020-12-29 22:44

    I had the same problem with .xls files. My solution is to save the file as a tab delimited .txt. Then you can also manually change the .txt extension to .xls, then you can open the dataframe with read.delim.

    This is very rude way to overcome the issue anyway.

提交回复
热议问题