[R] defining a template for functions via do.call and substit ute.

Berton Gunter gunter.berton at gene.com
Wed Sep 29 19:25:35 CEST 2004


THE FLAW!  :-(

-- Bert 

> -----Original Message-----
> From: Liaw, Andy [mailto:andy_liaw at merck.com] 
> Sent: Wednesday, September 29, 2004 10:11 AM
> To: 'Berton Gunter'
> Subject: RE: [R] defining a template for functions via 
> do.call and substit ute.
> 
> Bert,
> 
> I thought about that, too, but I believe that approach is not 
> as safe, as
> one could run into trouble if the body of the function has 
> something like
> aCupOfCofee + someCream, which would ended up as xCupOfCofee 
> + someCrexm...
> 
> Cheers,
> Andy




More information about the R-help mailing list