On Tue, 17 Mar 2009, John Chambers wrote:
It's important though to use the default, one argument, call to setGeneric(). Otherwise the two functions are not consistent and can't exist in the same namespace.
Thanks. Does this include restricting which arguments are used for dispatch? I have setGeneric("bigglm", signature=c("formula","data")) to dispatch just on the first two arguments. I will try to run everything on my desktop back in Seattle to see if there are still problems under r-devel -- my laptop is staying with its current version of R until my book goes to the publisher.
PS: if this is the biglm() in the biglm package, the current CRAN version is not a generic of any flavor. Presumably this is a new version?
You're missing a 'g'. It's bigglm(), which is S3-generic already. The current version uses S3 inheritance on SQLiteConnection (which works, but doesn't extend to other DBIConnection objects, as you pointed out previously). -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.edu University of Washington, Seattle ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel