useR!2017 has ended
Back To Schedule
Thursday, July 6 • 5:40pm - 5:45pm
The current state of naming conventions in R

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Keywords: Naming Conventions, R
Coming from another programming language one quickly notes that there are many different naming conventions in use in the R community. Looking through packages published on CRAN one will find that functions and variables most often are either period.separated or underscore_separated, or written in lowerCamelCase or UpperCamelCase. In 2012 we did a survey of the popularity of different naming conventions used in all the packages on CRAN (Bååth, 2012), but a lot has happened since then! Since 2012 CRAN has more than doubled from 4000 packages to now over 10,000 packages, and we have also seen the rising popularity of the tidyverse packages that often follow the underscore_separated naming convention.
In this presentation we will show you the current state of naming conventions used in the R community, we will look at what has happened since 2012 and what the current trend is.
References Bååth, R. (2012). The state of naming conventions in R. The R Journal, 4(2), 74-75. https://journal.r-project.org/archive/2012-2/RJournal_2012-2_Baaaath.pdf


Thursday July 6, 2017 5:40pm - 5:45pm CEST
3.02 Wild Gallery