Paul Gilbert <[EMAIL PROTECTED]> writes:

> Let me back up a bit, I may be making another mistake.  My code has
>
> setGeneric("TSdoc<-",
>    def= function(x, value) standardGeneric("TSdoc<-"),
>    useAsDefault= function (x, value) {attr(x, "TSdoc") <- value ; x })
>
> setGeneric("TSdoc",
>    def= function(x) standardGeneric("TSdoc"),
>    useAsDefault= function(x) attr(x, "TSdoc"))

Aside:

It seems odd to me to define such defaults.  How do you know x is
going to have a TSdoc attribute?  

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to