From Jonathan Rougier <J.C.Rougier@durham.ac.uk>  Mon Jan 18 14:06:49 1999
From: Jonathan Rougier <J.C.Rougier@durham.ac.uk> (Jonathan Rougier)
Date: Mon, 18 Jan 1999 14:06:49 +0000 (GMT)
Subject: Some outer() suggestions
In-Reply-To: <199901181353.OAA04395@sophie.ethz.ch>
Message-ID: <Pine.GSO.3.96.990118135942.29339A-100000@laplace>

Hi Martin,

On Mon, 18 Jan 1999, Martin Maechler wrote:

> - Concerning "kronecker",  couldn't we use
> 
>     %x%
> 
>   as an .Alias for the kronecker product (instead of "%kr%" which you proposed)
>   Does anyone see a reason against it?

That's a good idea!

> - match.fun() [your new proposal]:
> 
>   Why should it give an error [stop()] instead of return NA or NULL or
>   something like that when there's no function match ?

There is no compelling reason: the rather brutal error is because I was
concerned to duplicate the procedure in apply().  Hence I used get()
directly, rather than checking for existence first.  But I agree that a
NULL return would be more flexible.  I'd be happy to rewrite.

Cheers, Jonathan.

Jonathan Rougier                       Science Laboratories
Department of Mathematical Sciences    South Road
University of Durham                   Durham DH1 3LE

"[B]egin upon the precept ... that the things we see are to be 
 weighed in the scale with what we know"  (Meredith, 1879, The Egoist)


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Some outer() suggestions
Jonathan Rougier