At Brian Ripley's request, I started putting together a minimal package to
illustrate the problem (see below for my original post). As usually
happens, I have stumbled on the problem: our zzz.R file contained the
command:
.noGenerics <- TRUE
which we probably copied blindly from some example. A
On Sat, 8 Dec 2007, Jay Emerson wrote:
> We are building a package, and want to create S4 methods for both head and
> mean for our own BigMatrix class. Following the recommendation in "Writing
> R Extensions" we use exportMethods instead of export in NAMESPACE (this is
> described as being "clear
We are building a package, and want to create S4 methods for both head and
mean for our own BigMatrix class. Following the recommendation in "Writing
R Extensions" we use exportMethods instead of export in NAMESPACE (this is
described as being "clearer"). This works for head, but not for mean.
Ob