/ Published in: R
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# first row contains variable names # we will read in workSheet mysheet library(RODBC) channel <- odbcConnectExcel("c:/myexel.xls") mydata <- sqlFetch(channel, "mysheet") odbcClose(channel)
URL: http://www.statmethods.net/input/importingdata.html