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.tho...@utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to