The error message suggests that the file you are trying to read is not in a recognized Excel format (xls or xlsx).

To resolve this issue, you can try the following steps:

  1. Make sure the file path is correct and the file exists in the specified location.
  2. Check the file extension and ensure it is either xls or xlsx.
  3. If the file is in a different format (e.g., CSV), you can use the appropriate read function for that format. For example, you can use read_csv() function from the "readr" package to read a CSV file.
  4. If the file is indeed an Excel file but the read_excel function is not recognizing it, you may need to install and load the "readxl" package, which provides the read_excel function. You can do this by running install.packages("readxl") and then library(readxl) before running the read_excel function.

If the issue persists, please provide more information about the file you are trying to read, such as its format and contents, so that I can assist you more accurately

data - read_excelCUsers27773DesktopBostonHousing3csvError Cant establish that the input is either xls or xlsx

原文地址: https://www.cveoy.top/t/topic/hYVh 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录