From deepayan at stat.wisc.edu  Mon Aug 16 16:27:47 2004
From: deepayan at stat.wisc.edu (Deepayan Sarkar)
Date: Mon Aug 16 16:28:01 2004
Subject: [Rd] promptClass("numeric")
In-Reply-To: <200408161554110262.49B4F510@mail.math.fu-berlin.de>
References: <200408161554110262.49B4F510@mail.math.fu-berlin.de>
Message-ID: <200408160927.47055.deepayan@stat.wisc.edu>

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


[Rd] promptClass("numeric")
Deepayan Sarkar