[R] RMySQL/methods problem

David James dj at research.bell-labs.com
Fri May 17 21:04:59 CEST 2002


Robert Ewing wrote:
> I have a problem when using the RMySQL package and the methods package
> together (R version 1.5.0)

Yes, that's an incompatibility bug.  I'll be updating RMySQL soon.

> 
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-- 
David A. James
Statistics Research, Room 2C-253            Phone:  (908) 582-3082       
Bell Labs, Lucent Technologies              Fax:    (908) 582-3340
Murray Hill, NJ 09794-0636
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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