EUVIMEDEUVIMED entdecken
Open Access

Expansion and evolution of the R programming language

Timothy L Staples iD

Royal Society Open Science · 2023-04 · 10 (4)

DOI: 10.1098/rsos.221550 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Royal Society Open Science, online erschienen am 12.04.2023. Verfasst von Timothy L Staples. Beteiligte Einrichtung: School of Biological Sciences, The University of Queensland, Building 60, St Lucia, Queensland 4072, Australia. Die Arbeit wurde bisher 38-mal zitiert (Crossref) und nennt 49 Literaturangaben. Der Volltext ist frei in PubMed Central verfügbar. Gefördert von: Australian Research Council.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Languages change over time, driven by creation of new words and cultural pressure to optimize communication. Programming languages resemble written language but communicate primarily with computer hardware rather than a human audience. I tested whether there were detectable changes over time in use of R, a mature, open-source programming language used for scientific computing. Across 393 142 GitHub repositories published between 2014 and 2021, I extracted 143 409 288 R functions, programming ‘verbs’, pairing linguistic and ecological analyses to detect change to diversity and composition of functions used over time. I found the number of R functions in use increased and underwent substantial change, driven primarily by the popularity of the ‘tidyverse' collection of community-written extensions. I provide evidence that users can change the nature of programming languages, with patterns that match known processes from natural languages and genetic evolution. In R, there appear to be selective pressures for increased analytic complexity and R functions in decline that are not yet extinct (extinction debts). R's evolution towards the tidyverse may also represent the start of a division into two distinct dialects, which may impact the readability and continuity of analytic and scientific inquiries codified in R, as well as the language's future.

Schlagwörter

Stichwörter der Autor:innen

GitHub repositorieslexiconprogramming functionssoftware linguistics

Autor:innen und Institutionen

  • School of Biological Sciences, The University of Queensland, Building 60, St Lucia, Queensland 4072, Australia.

ORCID-Profile: Timothy L Staples

Förderung

  • Australian Research Council

Zitieren

APA

Staples, T. L. (2023). Expansion and evolution of the R programming language. Royal Society Open Science, 10(4). https://doi.org/10.1098/rsos.221550

Vancouver

Staples TL. Expansion and evolution of the R programming language. Royal Society Open Science. 2023;10(4). doi:10.1098/rsos.221550

BibTeX
@article{Staples2023,
  author = {Staples, Timothy L},
  title = {Expansion and evolution of the R programming language},
  journal = {Royal Society Open Science},
  year = {2023},
  volume = {10},
  number = {4},
  doi = {10.1098/rsos.221550}
}
Kostenlos starten →