[R] Double-banger function names: preferences and suggestions
h.wickham at gmail.com
Mon Feb 26 17:28:06 CET 2007
Thanks to every one who contributed - there definitely isn't a
consensus, but perhaps a slight preference towards number 3
(camelCase). I'm not sure yet if this beats out my personal
preference for number 2.
On 2/25/07, hadley wickham <h.wickham at gmail.com> wrote:
> 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?
More information about the R-help