Some outer() suggestions

Jonathan Rougier Jonathan Rougier <>
Mon, 18 Jan 1999 14:06:49 +0000 (GMT)

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!

> - [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
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: