From sfalcon at fhcrc.org  Sat Mar 17 01:14:05 2007
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Fri, 16 Mar 2007 17:14:05 -0700
Subject: [Rd] R 2.5.0 devel try issue in conjuntion with S4 method
	dispatch
In-Reply-To: <19990.89.62.105.96.1174089033.squirrel@gk.uu.epigenomics.net>
	(Matthias Burger's message of "17 Mar 2007 00:50:33 +0100")
References: <45F98B1D.2060501@epigenomics.com>
	<19990.89.62.105.96.1174089033.squirrel@gk.uu.epigenomics.net>
Message-ID: <m2ps783ewi.fsf@ziti.local>

"Matthias Burger" <matthias.burger at epigenomics.com> writes:
> Well, I understand I should have spent more time trimming my example
> to the minimal required code. Again this piece was copied & reduced.

No need to have done anything differently.  I commented on the code
in hopes that it might be helpful for others learning S4 stuff -- so I
think the discussion is useful even if it isn't your real code :-)

> The actual package uses a namespace which only exports the method but not
> the function.
> Using the .className extension scheme I can still get at the actual
> code at the R prompt via ':::'  which I find just handy.

If you switched to _className, then there would be no S3 confusion.
There are performance implications in doing things this way, but I
agree it is convenient.

Cheers,

+ seth

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org



[Rd] R 2.5.0 devel try issue in conjuntion with S4 method dispatch
Seth Falcon