Hi the list
When two setGeneric occurs on the same function, the second erage the
first and erase all the function previously define.
Is it possible to prevent that ? Is it possible to declare a setGeneric
that can not be erased later ?
Something like the |sealed for setMethod...|
||
|Thanks|
On Mar 13, 2008, at 5:04 AM, Christophe Genolini wrote:
Hi the list
When two setGeneric occurs on the same function, the second erage the
first and erase all the function previously define.
Is it possible to prevent that ? Is it possible to declare a
setGeneric
that can not be erased
Christophe Genolini [EMAIL PROTECTED] writes:
Hi the list
When two setGeneric occurs on the same function, the second erage the
first and erase all the function previously define.
'erase' is only true if you attempt to define the generic in the same
name space (e.g., in the global
an unusual strategy would be to use lockBinding to make the symbol
associated with the generic unchangeable.
This sounds nice, thanks. Why is it unusual ? Any side effect or just
the practice?
__
R-help@r-project.org mailing list
4 matches
Mail list logo