Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

The State of Naming Conventions in R

Bååth, Rasmus LU (2012) In The R Journal 4(2). p.74-75
Abstract
Most programming language communities have naming conventions that are generally agreed upon, that is, a set of rules that governs how functions and variables are named. This is not the case with R, and a review of unofficial style guides and naming convention usage on CRAN shows that a number of different naming conventions are currently in use. Some naming conventions are, however, more popular than others and as a newcomer to the R community or as a developer of a new package this could be useful to consider when choosing what naming convention to adopt.
Please use this url to cite or link to this publication:
author
organization
publishing date
type
Contribution to journal
publication status
published
subject
in
The R Journal
volume
4
issue
2
pages
74 - 75
publisher
R Foundation for Statistical Computing
external identifiers
  • wos:000313198000010
  • scopus:84883237004
ISSN
2073-4859
project
Thinking in Time: Cognition, Communication and Learning
language
English
LU publication?
yes
id
e324f252-1d1c-4416-ad1f-284d4ba84bf9 (old id 3492317)
alternative location
http://journal.r-project.org/archive/2012-2/RJournal_2012-2_Baaaath.pdf
date added to LUP
2016-04-01 14:44:09
date last changed
2022-03-22 01:40:38
@misc{e324f252-1d1c-4416-ad1f-284d4ba84bf9,
  abstract     = {{Most programming language communities have naming conventions that are generally agreed upon, that is, a set of rules that governs how functions and variables are named. This is not the case with R, and a review of unofficial style guides and naming convention usage on CRAN shows that a number of different naming conventions are currently in use. Some naming conventions are, however, more popular than others and as a newcomer to the R community or as a developer of a new package this could be useful to consider when choosing what naming convention to adopt.}},
  author       = {{Bååth, Rasmus}},
  issn         = {{2073-4859}},
  language     = {{eng}},
  number       = {{2}},
  pages        = {{74--75}},
  publisher    = {{R Foundation for Statistical Computing}},
  series       = {{The R Journal}},
  title        = {{The State of Naming Conventions in R}},
  url          = {{http://journal.r-project.org/archive/2012-2/RJournal_2012-2_Baaaath.pdf}},
  volume       = {{4}},
  year         = {{2012}},
}