[R] Double-banger function names: preferences and suggestions

Jason Barnhart jasoncbarnhart at msn.com
Thu Mar 1 18:31:08 CET 2007


Definitely not #2.   Prefer #1 but #3 is ok as well.

Thanks for contributing and inquiring.


----- Original Message ----- 
From: "hadley wickham" <h.wickham at gmail.com>
To: <R-help at r-project.org>
Sent: Sunday, February 25, 2007 7:44 AM
Subject: [R] Double-banger function names: preferences and suggestions


> What do you prefer/recommend for double-banger function names:
>
> 1 scale.colour
> 2 scale_colour
> 3 scaleColour
>
> 1 is more R-like, but conflicts with S3.  2 is a modern version of
> number 1, but not many packages use it.  Number 3 is more java-like.
> (I like number 2 best)
>
> Any suggestions?
>
> Thanks,
>
> Hadley
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list