On P36 "Importing data from excel" I created an excel file called test in the working dirctory and used the following code similar to the example on pages 36 to 37:
library(RODBC)
> channel <-odbcConnectExcel("test.xls"
> mydataframe <- sqlFetch(channel,"Sheet1"
but I receive the folowing error:
Sheet1: table not found on channel
The excel worksheet is definitely called "Sheet1". and the excel file is called test.xls. I have no idea why this is not working
|