library(RODBC)
z <- odbcConnectExcel("lianxiyong.xlsx")
(w <- sqlFetch(z,"Sheet1"))
反饋信息:
> library(RODBC)
> z <- odbcConnectExcel("lianxiyong.xlsx")
Error in odbcConnectExcel("lianxiyong.xlsx") :
odbcConnectExcel is only usable with 32-bit Windows
> (w <- sqlFetch(z,"Sheet1"))
Error in inherits(channel, "RODBC") : object 'z' not found
請諸位大俠前輩解惑,感激不盡!