[R] RMySQL on Mac OS 10.4

Seth Falcon sfalcon at fhcrc.org
Tue May 23 05:33:46 CEST 2006

Ryan Hafen <ryan.hafen at utah.edu> writes:
>  > dbWriteTable(con, "test", rnorm(100))
> Error in .class1(object) : no direct or inherited method for function  
> 'dbWriteTable' for this call
> For more info, I am running OS X 10.4.6, R 2.2.1, I have compiled  
> RMySQL from source version 0.5-7, and I'm running MySQL 4.1.19.
> I have no idea what this error means and I have not found anything  
> about it anywhere else in the help files.  If anyone knows what I can  
> do to fix this, I would really really appreciate it.

I think this just means that dbWriteTable doesn't know how to write
vectors, it knows how to write data frames (according to the man

So you could test:

    dbWriteTable(con, "test", data.frame(rng=rnorm(100)))

+ seth

More information about the R-help mailing list