Re: [Rd] promptClass("numeric")

From: Deepayan Sarkar <deepayan_at_stat.wisc.edu>
Date: Tue 17 Aug 2004 - 00:27:47 EST

On Monday 16 August 2004 08:54, Wolski wrote:
> Hi!
>
> Have written some functions with signature "numeric".
>
> eg.
> setGeneric("foo",
> function(object,...)
> standardGeneric("foo"))
> setMethod("foo",signature(object="numeric"),def = ....
>
> To generate the Rd file sceleton i use
>
> > promtClass("numeric")
>
> A shell of class documentation has been written to the
> file 'numeric-class.Rd'.
>
>
> but the file does contains just.
>
> \section{Methods}{
> \describe{
> \item{coerce}{\code{signature(from = "ANY", to = "numeric")}: ...
> } }
> }
>
> Were is my method "foo"?

Why do you expect it to be there? If you want documentation for method definitions of foo, use promptMethods("foo"); this is indicated in ?promptClass:

See Also:

     'prompt' for documentation of functions, 'promptMethods' for
     documentation of method definitions.

Hth,

Deepayan



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Aug 17 00:43:54 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 08:59:19 EST