Re: [Rd] Making custom unary operators in R

2008-03-14 Thread Trevor . L . Davis
Professor Ripley, Thanks for answering my question. Trevor __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Making custom unary operators in R

2008-03-13 Thread Prof Brian Ripley
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