Re: [Rd] warning creating an as.array method in a package

2010-12-10 Thread Michael Friendly
I found a solution to this problem, but don't understand why it was necessary. In a clean workspace, I get: > methods(as.array) [1] as.array.default > showMethods("as.array") Function "as.array": So, I just added the generic definition to my package, making with warnings go away. as.array

[Rd] warning creating an as.array method in a package

2010-12-09 Thread Michael Friendly
I posted on this topic to r-help, but never got a sufficient answer, so I'm reposting here. [Env: R 2.11.1, Win Xp, using Eclipse/StatET] In a package I'm working on, I want to create as.matrix() and as.array() methods for a particular kind of object (log odds ratios). These are returned in a