报错信息:

 openxlsx can not read .xls or .xlm files!

报错原因:
openxlsx不支持2003版excel格式的读取。

解决方法:使用readxl包


library(readxl)
tt= read_xls("test.xls")
head(tt);dim(tt)

用法和openxlsx一致。