[Rd] Problems with definitions of S4-generics
Seth Falcon
sfalcon at fhcrc.org
Thu Feb 1 16:16:17 CET 2007
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
More information about the R-devel
mailing list