[Rd] New pipe operator
    Peter Dalgaard 
    pd@|gd @end|ng |rom gm@||@com
       
    Wed Dec  9 19:42:48 CET 2020
    
    
  
> On 9 Dec 2020, at 16:20 , Duncan Murdoch <murdoch.duncan using gmail.com> wrote:
> 
> To me curry(mean, na.rm = TRUE)(x) looks a lot more complicated than mean(x, na.rm = TRUE), especially since it has the additional risk that users can define their own function called "curry".
Not to mention that it would make people's data handling scripts look like the menu at an Indian restaurant.... ;-)
-pd
-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes using cbs.dk  Priv: PDalgd using gmail.com
    
    
More information about the R-devel
mailing list