From gabraham at csse.unimelb.edu.au  Wed Mar 11 01:59:30 2009
From: gabraham at csse.unimelb.edu.au (Gad Abraham)
Date: Wed, 11 Mar 2009 11:59:30 +1100
Subject: [Rd] S4 generic masking S3 generic when using namespace
In-Reply-To: <1A68FCB28DE72F4BA3B967E6506CCE43047DF72A@mildnpexmb01.maninvestments.ad.man.com>
References: <49B63A9F.60403@csse.unimelb.edu.au>
	<1A68FCB28DE72F4BA3B967E6506CCE43047DF72A@mildnpexmb01.maninvestments.ad.man.com>
Message-ID: <49B70CF2.2000709@csse.unimelb.edu.au>

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-devel/20090203/lib64/R]
> ***
>> setGeneric("predict")
> [1] "predict"

Great, thanks.

-- 
Gad Abraham
MEng Student, Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: gabraham at csse.unimelb.edu.au
web: http://www.csse.unimelb.edu.au/~gabraham



[Rd] S4 generic masking S3 generic when using namespace
Gad Abraham