Professor Ripley,
Thanks for answering my question.
Trevor
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
The issue here is the parser: ? works because the parser knows about it.
To allow further unary operators would need a parser change.
On Thu, 13 Mar 2008, [EMAIL PROTECTED] wrote:
> Hello,
>
> Is there a way to define a custom unary operator in R (other than making a
> class and 'overloading' t
Hello,
Is there a way to define a custom unary operator in R (other than making a
class and 'overloading' the normal unary operators in R)? The
documentation seems to suggest that only custom binary operators are
possible with the ``%abc%``construct but I was wondering whether any one
has don