From berwin at maths.uwa.edu.au  Mon Sep  5 03:17:07 2005
From: berwin at maths.uwa.edu.au (Berwin A Turlach)
Date: Mon, 5 Sep 2005 09:17:07 +0800
Subject: [Rd] Writing R-extensions
In-Reply-To: <Pine.LNX.4.63.0509041830520.5751@itasca2.wildberry.org>
References: <17168.22195.533974.55934@bossiaea.maths.uwa.edu.au>
	<Pine.LNX.4.61.0508271504001.4656@gannet.stats>
	<Pine.LNX.4.63.0509041830520.5751@itasca2.wildberry.org>
Message-ID: <17179.40083.1023.917759@bossiaea.maths.uwa.edu.au>

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". :)

Cheers,

        Berwin



[Rd] Writing R-extensions
Berwin A Turlach