Re: [R] importing S4 methods using a namespace

2010-02-24 Thread Aaron Rendahl
Thanks very much! Importing from Matrix as you suggest fixes it. -- Aaron Rendahl, Ph.D. Statistical Consulting Manager School of Statistics, University of Minnesota NEW OFFICE (as of June 2009): 48C McNeal Hall, St. Paul Campus 612-625-1062 www.stat.umn.edu/consulting

Re: [R] importing S4 methods using a namespace

2010-02-24 Thread Martin Morgan
Hi Aaron -- On 02/23/2010 01:30 PM, Aaron Rendahl wrote: > I want to call summary on a mer object (from lme4) within my package > but I can't seem to get the namespace to import the necessary method. > > I've simplified my package to this one function: > --- > ss <- functi

[R] importing S4 methods using a namespace

2010-02-23 Thread Aaron Rendahl
I want to call summary on a mer object (from lme4) within my package but I can't seem to get the namespace to import the necessary method. I've simplified my package to this one function: --- ss <- function(m) { summary(m) } --- And my namespace f