From jgentry at jimmy.harvard.edu  Thu Apr 21 21:37:12 2005
From: jgentry at jimmy.harvard.edu (Jeff Gentry)
Date: Thu Apr 21 21:34:41 2005
Subject: [Rd] Overloading methods in R
In-Reply-To: <000701c546a8$e7d3e1c0$ab0040d5@hblaptop>
Message-ID: <Pine.SOL.4.20.0504211536290.24738-100000@santiam.dfci.harvard.edu>


On Thu, 21 Apr 2005, Henrik Bengtsson wrote:
> > But what is wrong with:
> > setGeneric("testFun", function(object, ...))
> Naming conflicts, may be the problem. You have that generic in your package,
> but I might, without know about yours, and I write 
>  setGeneric("testFun", function(x, ...))
> in my package, and then a third person that we don't know of, is loading
> both of our packages. Ouch! Indeed, this do happens. 

True, but isn't that what namespaces are for?


[Rd] Overloading methods in R
Jeff Gentry