[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]
[an error occurred while processing this directive]
Research Articles

A comprehensive analysis of R’s application in ecological research from 2008 to 2023

Expand
  • 1Department of Geography and Spatial Information Techniques, Ningbo University, Ningbo 315211, China
    2College of Ecology and Environment, Nanjing Forestry University, Nanjing 210037, China
    3Faculty of Electrical Engineering and Computer Science, Ningbo University, Ningbo 315211, China

    *Corresponding author. E-mail: lai@njfu.edu.cn

Received date: 2024-11-18

  Accepted date: 2025-01-08

  Online published: 2025-01-16

Supported by

This study was supported by the National Nature Science Foundation of China (grant nos 32271551, 42271051, 42471054), Jiangsu Social Development Project (grant no. BE2022792) and the Metasequoia fund of Nanjing Forestry University.

Abstract

The field of ecology has been greatly enhanced by the integration of computational tools and statistical methods, with the programming language R emerging as a pivotal and flexible tool for ecological research. As ecological studies accelerate, understanding the prevalent trends and specific usage patterns of R in recent research is crucial. This study investigated the use of R and its packages in 125 494 scholarly articles published in 40 ecology journals from 2008 to 2023. A total of 52 658 articles (42%) designated R as their principal analytical tool, demonstrating a steady linear growth in its utilization from 10.3% in 2008 to 66.9% in 2023. Twelve R packages, including ‘lme4’, ‘vegan’, ‘nlme’, ‘MuMIn’, ‘ape’, ‘ggplot2’, ‘car’, ‘mgcv’, ‘MASS’, ‘raster’, ‘multcomp’ and ‘lmerTest’, each played a pivotal role in contributing to more than 1000 scholarly articles. The highest usage rate of the 'lme4' package indicates that mixed-effect models have a particularly important role in ecological research, and the application of these models has helped ecologists solve many important scientific problems. Journal-specific package preferences aligned with their scientific domains, while the rise in the average number of R packages per article indicates a trend towards more complex and diverse analytical methods in ecology. Our findings reveal a reciprocal relationship between the development of R and ecological research, underscoring the need for collaboration among quantitative ecologists, R developers and ecologists to further advance both the language and the field. Such collaboration will not only enhance the functionality and versatility of R but also provide robust technical support for the continued progress of ecological research.

Cite this article

Meixiang Gao, Yanyan Ye, Ye Zheng, Jiangshan Lai . A comprehensive analysis of R’s application in ecological research from 2008 to 2023[J]. Journal of Plant Ecology, 2025 , 18(1) : 1 -14 . DOI: 10.1093/jpe/rtaf010

[an error occurred while processing this directive]
Outlines

/

[an error occurred while processing this directive]