Using R in Hydrology: recent developments and future directions - INRAE - Institut national de recherche pour l’agriculture, l’alimentation et l’environnement Access content directly
Conference Papers Year : 2019

Using R in Hydrology: recent developments and future directions

Utilisation de la R en hydrologie : développements récents et orientations futures


The open-source programming language R has gained a central place in the hydrological sciences over the last decade, driven by the availability of diverse hydro-climatological data archives and the development of open-source computational tools. The growth of R's usage in hydrology is reflected in the number of newly published hydrological packages, the strengthening of online user communities, and the popularity of training courses and events. In this paper, we explore the benefits and advantages of R's usage in hydrology, such as the democratisation of data science and numerical literacy, the enhancement of reproducible research and open science, the access to statistical tools, the ease of connecting R to and from other languages, and the support provided by a growing community. We provide an overview of important packages at every step of the hydrological workflow, from the retrieval of hydro-meteorological data, to spatial analysis and cartography, statistics, hydrological modeling, and the design of static and dynamic graphics, presentations and documents. We discuss some of the challenges that arise when using R in hydrology and useful tools to overcome these challenges, including the use of hydrological libraries, documentation and vignettes, the role of the RStudio IDE in facilitating hydrological learning, and the Big Data and parallel computing paradigm in hydrology. Last, this paper provides a potential roadmap for the future of R in hydrology, with R packages as a driver of hydrological progress, APIs providing enhanced data acquisition and provision, enhanced teaching of hydrology in R, and the continued growth of the community via short courses and events.


No file

Dates and versions

hal-02609370 , version 1 (16-05-2020)



L. Slater, Guillaume Thirel, S. Harrigan, Olivier Delaigue, A. Hurley, et al.. Using R in Hydrology: recent developments and future directions. EGU General Assembly 2019, Apr 2019, Vienna, Austria. pp.26. ⟨hal-02609370⟩


45 View
0 Download


Gmail Facebook X LinkedIn More