From sfalcon at fhcrc.org  Thu Feb  1 16:16:17 2007
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Thu, 01 Feb 2007 07:16:17 -0800
Subject: [Rd] Problems with definitions of S4-generics
In-Reply-To: <C1E66E0D.2458%Beyerj@students.uni-marburg.de>
	(=?iso-8859-1?Q?J=F6rg?= Beyer's message of "Wed, 31 Jan 2007 16:02:21
	+0100")
References: <C1E66E0D.2458%Beyerj@students.uni-marburg.de>
Message-ID: <m2fy9p52ny.fsf@fhcrc.org>

J?rg Beyer <Beyerj at students.uni-marburg.de> writes:

> Hello all, 
>
> I'd like to report a problem related to S4 classes.
>
> Platform: 
> Mac G4/400 PCI (PPC-architecture)
> Mac OS 10.4.8
> R 2.4.1 for Mac OS X (CRAN binary, 2006-12-19) w/ R.app 1.18

I see the same thing using a fairly recent R-devel:


> setGeneric("foobar", function(x) standardGeneric("foobar"))
[1] "foobar"

> removeGeneric("foobar")
[1] TRUE

> getGeneric("foobar")
standardGeneric for "foobar" defined from package ".GlobalEnv"

function (x) 
standardGeneric("foobar")
<environment: 0x5fd6d6c>
Methods may be defined for arguments: x 

+ seth



[Rd] Problems with definitions of S4-generics
Seth Falcon