reading a csv file with repeated row names in R

前端 未结 7 1369
天命终不由人
天命终不由人 2020-12-09 15:55

I am trying to read a csv file with repeated row names but could not. The error message I am getting is Error in read.table(file = file, header = header, sep = sep, qu

7条回答
  •  离开以前
    2020-12-09 16:27

    in my case the problem came from the excel file. Although it seemed perfectly organized, it did not worked and I had always the message: Error in read.table(file = file, header = header, sep = sep, quote = quote, : duplicate 'row.names' are not allowed.

    I tried to copy-paste my excel matrix to a new empty excel sheet and I retried to read it: it worked ! No error message anymore !

提交回复
热议问题