Re: [Rd] NAMESPACE choices for exporting S4 methods

2007-12-08 Thread Jay Emerson
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

Re: [Rd] NAMESPACE choices for exporting S4 methods

2007-12-08 Thread Prof Brian Ripley
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

[Rd] NAMESPACE choices for exporting S4 methods

2007-12-08 Thread Jay Emerson
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