The error is occurring because the backslashes in the file path are being interpreted as escape characters. To fix this, you can either use double backslashes or forward slashes in the file path: \n\nUsing double backslashes:\nR\ndata <- read_excel("C:\\Users\\27773\\Desktop\\BostonHousing3.xltx")\n\n\nUsing forward slashes:\nR\ndata <- read_excel("C:/Users/27773/Desktop/BostonHousing3.xltx")\n\n\nMake sure that the file path is correct and the file exists in the specified location.


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

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