Loading the stupid dataset--help!!!
On 05/19/2012 07:44 AM, SteveQ wrote:
I am using the following:
library(RODBC)
chan = odbcConnectExcel("rats-lda")
rats.lda = sqlFetch(chan, "data")
close(chan)
And getting the following error message:
library(RODBC)
Error in library(RODBC) : there is no package called ?RODBC?
The above error message indicates that the ROBDC package is not
installed. Have you done an install.packages("ROBDC")?
chan = odbcConnectExcel("rats-lda")
Error: could not find function "odbcConnectExcel"
rats.lda = sqlFetch(chan, "data")
Error: could not find function "sqlFetch"
close(chan)
I am sure there is a simple answer to this. Thanks.
Kevin E. Thorpe Biostatistician/Trialist, Applied Health Research Centre (AHRC) Li Ka Shing Knowledge Institute of St. Michael's Assistant Professor, Dalla Lana School of Public Health University of Toronto email: kevin.thorpe at utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016