csv extra row error
Kevin-michael-angel-Low opened this issue · 1 comments
Kevin-michael-angel-Low commented
Error message:
In read.table(file = file, header = header, sep = sep, quote = quote, :
incomplete final line found by readTableHeader on ‘path’
Sometimes creating a csv in excel can create an extra, blank row at the bottom, causing error.
alexandrammuir commented
Along with a blank row it is possible that there is a trailing "," (comma) on one of the lines. In a csv R reads that as another column, but then it doesn't match the other numbers of columns that we are inputting. So, there are a couple of things that can go wrong here.