Skip to content

Loading the stupid dataset--help!!!

4 messages · Q, Kevin E. Thorpe, Bert Gunter +1 more

Q
#
I am using the following: 
library(RODBC)
chan = odbcConnectExcel("rats-lda")
rats.lda = sqlFetch(chan, "data")
close(chan) 

And getting the following error message:
Error in library(RODBC) : there is no package called ?RODBC?
Error: could not find function "odbcConnectExcel"
Error: could not find function "sqlFetch"
I am sure there is a simple answer to this.  Thanks.

--
View this message in context: http://r.789695.n4.nabble.com/Loading-the-stupid-dataset-help-tp4630585.html
Sent from the R help mailing list archive at Nabble.com.
#
On 05/19/2012 07:44 AM, SteveQ wrote:
The above error message indicates that the ROBDC package is not
installed.  Have you done an install.packages("ROBDC")?

  
    
#
?install.packages
This functionality may also be available from a menu in an R GUI, e.g.
on WIndows. But as you failed to provide your system details -- as
requested by the posting guide -- we can't say.

HOWEVER ... something appears to be rotten in Denmark (with apologies
to Peter D.). IIRC, RODBC is part of the standard library that should
be automatically installed when you install R. If so, then why isn't
it there? How did you install R? Do you have access to your library
directories where RODBC should reside?  What other packages do you
show in your session? If you post the results of sessionInfo(),
someone wiser than I may be able to help you if install.packages()
does not suffice.

-- Bert
On Sat, May 19, 2012 at 4:44 AM, SteveQ <couponsq at gmail.com> wrote:

  
    
#
I don't think it's part of the standard install -- I certainly didn't
get it with Simon's [Mac] CRAN build and when I did download it it's
marked with priority "NA"  -- so no need to worry there.

Best,

Michael
On Sat, May 19, 2012 at 10:36 AM, Bert Gunter <gunter.berton at gene.com> wrote: