[R] RMySQL/methods problem

Robert Ewing rewing at incyte.com
Fri May 17 19:33:07 CEST 2002


I have a problem when using the RMySQL package and the methods package
together (R version 1.5.0)

I do :
library(RMySQL);
m<-dbManager('MySQL')
con<-dbConnect(m);
quickSQL(con, ' select blah blah..');

This works fine . However when I then do:
library(methods);

and then repeat my sql :
quickSQL(con, ' select blah blah..');

I get the following error:

Error in getClass(Class) : "MySQLResultSet" is not a defined class.

Is this a bug or am I doing something wrong.
Many thanks
Rob.


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list