Re: [Rd] S4 generic masking S3 generic when using namespace

2009-03-10 Thread Gad Abraham
Sklyar, Oleg (London) wrote: Try using setGeneric("predict") without further arguments, this should work as it will take the existing 'predict' definition and convert it into S4 generic. This works nicely for me for all plot, print etc methods * R *** R 2.9.0 (svn -r 47821) [/share/research/R

Re: [Rd] S4 generic masking S3 generic when using namespace

2009-03-10 Thread Sklyar, Oleg (London)
aham > Sent: 10 March 2009 10:02 > To: R-devel@r-project.org > Subject: [Rd] S4 generic masking S3 generic when using namespace > > Hi, > > I have two example packages, test1 and test2, where the only code in > them is: > > setGeneric("predict", function(o

[Rd] S4 generic masking S3 generic when using namespace

2009-03-10 Thread Gad Abraham
Hi, I have two example packages, test1 and test2, where the only code in them is: setGeneric("predict", function(object, ...) standardGeneric("predict")) (get them from http://www.cs.mu.oz.au/~gabraham/test1.tar and http://www.cs.mu.oz.au/~gabraham/test2.tar) The difference between them is