On Sun, May 31, 2009 at 6:10 PM, jim holtman <jholtman@gmail.com> wrote:

> Message is very clear:
>
> > 1 * 'a'
> Error in 1 * "a" : non-numeric argument to binary operator


Though the user should have been able to figure this out, perhaps the error
message could be improved? After all, it is not the fact that the operator
is *binary* that implies that its argument must be numeric, but that it is
*arithmetic*. The binary operator %in%, for example, takes non-numeric
arguments.

Suggested replacement error message:

     non-numeric argument to arithmetic operator

               -s

	[[alternative HTML version deleted]]


