Read.csv() throws error

后端 未结 7 871
暗喜
暗喜 2021-01-18 03:49

I have been trying to read the excel file but seems like there is something wrong. The file is stored in Documents folder in excel format.

These are the error mess

7条回答
  •  自闭症患者
    2021-01-18 04:39

    read.csv doesn't read XLS(X) files, only CSV files. Try opening your Excel file in Excel, exporting it to CSV and reissuing your read.csv command (depending on your system language, you might want to use read.csv2 instead).

提交回复
热议问题