Is this a valid excel file? Error

When I want to import my csv file to R studio , it says that can't establish that the input is either xls or xlsx.

How can I solve this issue?

Could anyone please help me?

1 Like

If it is a csv file, import it to R studio as


Hi @baran0645,

For import any file you need specify the path or set the working directory. Exist many ways for make this, Im put video example

Make this and paste the file in this directory. Next go to R:

dat <-read.csv("yourfilename.csv") # check the correct file name and extension .csv

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.