libraryreadxl data - read_excelCUsers27773DesktopBostonHousing3xltxError U used without hex digits in character string input124
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:
Using double backslashes:
data <- read_excel("C:\\Users\\27773\\Desktop\\BostonHousing3.xltx")
Using forward slashes:
data <- read_excel("C:/Users/27773/Desktop/BostonHousing3.xltx")
Make sure that the file path is correct and the file exists in the specified location.
原文地址: http://www.cveoy.top/t/topic/hYVU 著作权归作者所有。请勿转载和采集!