報錯信息:
openxlsx can not read .xls or .xlm files!
報錯原因:
openxlsx不支持2003版excel格式的讀取。
解決方法:使用readxl包
library(readxl)
tt= read_xls("test.xls")
head(tt);dim(tt)
用法和openxlsx一致。
報錯信息:
openxlsx can not read .xls or .xlm files!
報錯原因:
openxlsx不支持2003版excel格式的讀取。
解決方法:使用readxl包
library(readxl)
tt= read_xls("test.xls")
head(tt);dim(tt)
用法和openxlsx一致。
學習筆記,僅供參考 repeat循環 repeat循環可以重複執行相同的代碼,直到滿足停止條件。 語法 repeat { 命令行 if(關係表達式) { break #關係表達式