[Rd] Writing R-extensions

Luke Tierney luke at stat.uiowa.edu
Tue Sep 6 03:54:03 CEST 2005


On Mon, 5 Sep 2005, Berwin A Turlach wrote:

> G'day Luke,
>
>>>>>> "LT" == Luke Tierney <luke at stat.uiowa.edu> writes:
>
>    >> On Sat, 27 Aug 2005, Berwin A Turlach wrote:
>
>    >>> 3) The final sentence in the section on `Registering S3
>    >>> methods' is:
>    >>>
>    >>> Any methods for a generic defined in a package that does not
>    >>> use a name space should be exported, and the package defining
>    >>> and exporting the method should be attached to the search path
>    >>> if the methods are to be found.
>    >>>
>    >>> [...] is the implication of that sentence that if I have a
>    >>> package with a name space which defines a method for a generic
>    >>> defined in another package that does not use a name space,
>    >>> then this method is only found if my package is attached to
>    >>> the search path and mere loading of the namespace is not
>    >>> sufficient?
>
>    LT> There is no typo here and your reading in the paragraph above
>    LT> is correct.
> Thanks for the clarification.
>
> May I suggest that nevertheless there is a typo in this sentence and
> it should be ".... the package defining and exporting the methods..."?
> One reason why this sentence had me puzzled was that it uses twice
> "methods" and once "method". :)

All three are now "methods"

Best,

luke

-- 
Luke Tierney
Chair, Statistics and Actuarial Science
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
    Actuarial Science
241 Schaeffer Hall                  email:      luke at stat.uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu



More information about the R-devel mailing list