[R] RMySQL dbConnect

Giusy giemme81 at libero.it
Thu Oct 4 16:43:40 CEST 2007


Hello, I have a problem..
I'm trying to make R communicate with MySQL, but I always receive an error..
My code is:

library(DBI)
library(RMySQL)
drv <- dbDriver("MySQL")
conn<-dbConnect(drv,username="####",password="####",dbname="prova",host="localhost")

and I receive this message:
Errore in function (classes, fdef, mtable)  : 
        unable to find an inherited method for function "dbConnect", for
signature "MySQLDriver"

Can anyone help me?
Thank you very much
Giusy

-- 
View this message in context: http://www.nabble.com/RMySQL-dbConnect-tf4569251.html#a13041284
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list