probllem in reading only this file

mydata = read.csv('customer.csv')
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'customer.csv': No such file or directory

Either the file you are trying to open is not located at your current working directory or it is named differently.

it's a exal file other are opening but only this is not opening is there any other option

Are you saying that it is an Excel file? Does it have an xls or xlsx extension? If so you need to use something like *read_excel() from the readxl package.

This topic was automatically closed 21 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.