Using R in Water Resources Education


  • Milan Cisty Slovak University of Technology, Slovakia
  • Lubomir Celar Slovak University of Technology, Slovakia



This review paper will deal with the possibilities of applying the R programming language in water resources and hydrologic applications in education and research. The objective of this paper is to present some features and packages that make R a powerful environment for analysing data from the hydrology and water resources management fields, hydrological modelling, the post processing of the results of such modelling, and other task. R is maintained by statistical programmers with the support of an increasing community of users from many different backgrounds, including hydrologists, which allows access to both well established and experimental techniques in various areas.


Download data is not yet available.


J.M. Chambers, and T.J. Hastie, Statistical Models in S, Pacific Grove, California, 1992.

W.N. Venables, and D.M. Smith, “An Introduction to R”, (1 Oct, 2015), URL: .

G. Spencer, D.R. Sundar, and F. Romain, “Searching Help Pages of R Packages”, The R Journal 1, 2009, 56-59.

K.R. Ryberg, and A.V. Vecchia, waterData: “An R Package for Retrieval, Analysis, and Anomaly Calculation of Daily Hydrologic Time Series Data”, (1 Oct, 2015), URL:

J. Honaker, G. King, and M. Blackwell, “Amelia II: A Program for Missing Data”, Journal of Statistical Software 45, 2011, 1-47.

S. Van Buuren, and K. Groothuis-Oudshoorn, “Mice: Multivariate Imputation by Chained Equations in R”, Journal of Statistical Software 45, 2011, 1-47.

T. Lumley, “mitools: Tools for Multiple Imputation of Missing Data. R package version 2.2.”, (1 Oct, 2015), URL: .

M. Templ, A. Alfons, A. Kowarik, and B. Prantner, “VIM: Visualization and Imputation of Missing Values. R package version 4.0.0.”, (1 Oct, 2015), URL: .

A.D. Jassby, and J.E. Cloern, “wq: Some Tools for Exploring Water Quality Monitoring Data. R package version 0.3-11.”, (1 Oct, 2015), URL: .

M. Bigiarini-Zambrano, “hydroTSM: Time Series Management, Analysis and Interpolation for Hydrological Modelling. R Package version 0.4-2-1. (Oct. 10, 2015), URL: .

M. Bigiarini-Zambrano and, R. Rojas, “A Model-Independent Particle Swarm Optimisation Software for Model Calibration”, Environmental Modelling & Software 43, 2013, 5-25.

M.L. Delignette-Muller, R. Pouillot, J.B. Denis, and C. Dutang, “fitdistrplus: Help to Fit of a Parametric Distribution to Non-Censored or Censored Data”, (1 Oct, 2015), URL:

S. Coles, An Introduction to Statistical Modeling of Extreme Values, Springer-Verlag, London, 2001.[14] M. Ribatet, “POT: Generalized Pareto Distribution and Peaks Over Threshold. R package version 1.1-3.”, (1 Oct, 2015), URL: .

G. Pujol, B. Iooss, and A. Janol, Sensitivity: Sensitivity Analysis. R package version 1.7. (1 Oct, 2015), URL: .

D. Reusser, and T. Francke, “wasim: Visualisation and Analysis of Output Files of the Hydrological Model WASIM. R package version 1.1.2.”, (1 Oct, 2015), URL: .

Y. Wu, and S. Liu, “Automating Calibration, Sensitivity and Uncertainty Analysis of Complex Models Using the R Package Flexible Modeling Environment (FME)—SWAT as an Example”, Environmental Modelling & Software 31, 2012, 99-109.

K. Soetaert, and T. Petzoldt, “Inverse Modelling, Sensitivity and Monte Carlo Analysis in R using Package FME”, Journal of Statistical Software 33, 2010, 1-28.

J.G. Arnold, R. Srinivasan, R.S. Muttiah, and J.R. Williams, “Large Area Hydrologic Modeling and Assessment; Part 1— Model Development”, Journal of the American Water Resources Association 34, 1998, 73-89.

L. See, D. Solomatine, R. Abrahart, and E. Toth, “Computational Intelligence and Technological Developments in Water Science Applications”, Hydrological Sciences Journal 52, 2007, 391-396.

R.J. Abrahart, F. Anctil, P. Coulibaly, Ch.W. Dawson, N.J. Mount, L. See, A.Y. Shamseldin, D. Solomatine, D. Toth, and R.L. Wilby, “Two decades of anarchy? Emerging Themes and Outstanding Challenges for Neural Network River Forecasting”, Progress in Physical Geography 36, 2012, 480-513.

P.C. Young, “Hypothetico-Inductive Data-Based Mechanistic Modeling of Hydrological Systems”, Water Resources Research 49

A. Montanari, G. Young, H.H.G. Savenije, D. Hughes, T. Wagener, L.L. Ren, D. Koutsoyiannis, C. Cudennec, E. Toth, S. Grimaldi, G. Blöschl, M. Sivapalan, K. Beven, H. Gupta, M. Hipsey, B. Schaefli, B. Arheimer, E. Boegh, S.J. Schymanski, G. Di Baldassarre, B. Yu, P. Hubert, Y. Huang, A. Schumann, D.A. Post, V. Srinivasan, C. Harman, S. Thompson, M. Rogger, A. Viglione, H. McMilan, G. Characklis, Z. Pang, and V. Belyaev, “Panta Rhei-Everything Flows : Change in hydrology and society-The IAHS Scientific Decade 2013–2022”, Hydrological Sciences Journal 58, 1256-1275.

Kuhn, M. S. Weston, A. Williams, Ch. Keefer, A. Engelhardt, T. Cooper, Z. Mayer, Z.: “caret: Classification and Regression Training. R package version 6.0-22.”, (1 Oct, 2015), URL: .

M. Kuhn, J. Kjell, Applied Predictive Modeling. Springer, New York, 2013.

G.J. Williams, “Rattle: A Data Mining GUI for R.”, The R Journal 1, 2009, 45-55.

F.T. Andrews, B.F.W. Croke, and A.J. Jakeman, “An Open Software Environment for Hydrological Model Assessment and Development”, Environmental Modelling & Software 26, 2011, 1171-1185.

J. Parajka, R. Merz, and G. Bloschl, “Uncertainty and Multiple Objective Calibration in Regional Water Balance Modelling: Case Study in 320 Austrian Catchments”, Hydrological Processes 21, 2007, 435-446.

E. Cordano, and E. Eccel, “RMAWGEN: RMAWGEN (R Multi-Site Auto-Regressive Weather GENerator), a Package to Generate Daily Time Series of Precipitation and Temperature from Monthly Mean Values. R package version 1.2.6.”, (1 Oct, 2015), URL: .

M. Bigiarini-Zambrano, “hydroGOF: Goodness-of-Fit Functions for Comparison of Simulated and Observed Hydrological Time Series. R package version 0.3-7.”, (1 Oct, 2015), URL: .

R. Bivand, E.Pebesma, V. Gomez-Rubio, Applied Spatial Data Analysis with R, Springer, New York, 2013.

V. Gomez-Rubio, and A. Lopez-Quilez, “RArcInfo: Using GIS Data with R “, Computers & Geosciences 31, 2005, 1000-1006.

R. Bivand, and N. Lewin-Koh, Maptools: Tools for Reading and Handling Spatial Objects. R package version 0.8-27.”, (1 Oct, 2015), URL: .[34] B. Stabler, “Shapefiles: Read and Write ESRI Shapefiles. R package version 0.7.”, (1 Oct, 2015), URL: .

R. Bivand, T. Keitt, and B. Rowlingson, “rgdal: Bindings for the Geospatial Data Abstraction Library. R package version 0.8-14.”, (1 Oct, 2015), URL: .

R.J. Hijmans, “Raster: Geographic Data Analysis and Modeling. R package version 2.1-49.”, (1 Oct, 2015), URL: .

O. Perpinan, and R.J. Hijmans, “rasterVis: Visualization Methods for the Raster Package. R package version 0.27.”, (1 Oct, 2015), URL: .

R. Bivand, and C. Rundel, “rgeos: Interface to Geometry Engine - Open Source (GEOS). R package version 0.3-2.”, (1 Oct, 2015), URL: .

E.J. Pebesma, “Multi Variable Geostatistics in S: the gstat Package”, Computers & Geosciences 30, 2004, 683-691.

P.J. Diggle, P.J. Ribeiro jr., Model Based Geostatistics, Springer, New York, 2007.

H. Gerritsen, “mapplots: Data Visualisation on Maps. R package version 1.4.”, (1 Oct, 2015), URL: .

A. Brenning, “RPyGeo: ArcGIS Geoprocessing in R via Python. R package version 0.9-3.”, (1 Oct, 2015), .

M. Neteler, and H. Mitasova, Open Source GIS: a GRASS GIS Approach. Springer, New York, 2008.

A. Haywood, and C. Stone, “Mapping Eucalypt Forest Susceptible to Dieback Associated with Bell Miners (Manorinamelanophys) Using Laser Scanning, Spot 5 and Ancillary Topographical Data. “, Ecological Modelling 222, 2009, 1174--1184.

K. Hornik, Ch. Buchta, and A. Zeileis, “Open-Source Machine Learning: R meets Weka”, Computational Statistics 24, 2009, 225-232.

M. Loecher, “Overlays on Google Map Tiles in R. R package version “, (1 Oct, 2015), URL: .

H. Wickham, ggplot2: Elegant Graphics for Data Analysis, Springer, New York, 2009.

M.J.A. Eugster, T. Schlesinger, “osmar: OpenStreetMap and R“, (1 Oct, 2015), URL: .

E. Cordano, D. Andreis, F. Zottele, “soilwater: Implements Parametric Formulas for Soil Water Retention or Conductivity Curve. R package version 1.0.1. “, (1 Oct, 2015), URL: .

J. Moeys, “soilwaterfun: Functions for Soilwater Retention and Soil Hydraulic Conductivity. R package version 1.0.3. “, (1 Oct, 2015), URL: .

M.T. Genuchten, “A Closed form Equation for Predicting the Hydraulic Conductivity of Unsaturated Soils. “, Soil Science Society of America Journal 44, 1980, 892-898.

J. Moeys, “soilwaterptf: Pedotransfer Functions for soil Hydraulic Properties. R package version 1.0.4. “, (1 Oct, 2015), URL: .

J. Moeys, “soiltexture: Functions for Soiltexture Plot, Classification and Transformation. R package version 1.2.10. “, (1 Oct, 2015), .

CH.T. Omuto, “HydroMe: R Codes for Estimating Water Retention and Infiltration Model Parameters Using Experimental Data. R package version 2.0. “, (11 Oct, 2014) URL: .

F. Brun, D. Makowski, D. Wallach, and J.W. Jones, “ZeBook: ZeBook Working with Dynamic Models for Agriculture and Environment. R package version 0.5. “, (11 Oct, 2014), URL: .

D. Wallach, Makowski, D, J.W. Jones, and F. Brun, Working with Dynamic Crop Models: Methods, Tools and Examples for Agriculture and the Environment, Academic Press Inc, San Diego, 2013.




How to Cite

Cisty, M., & Celar, L. (2015). Using R in Water Resources Education. International Journal for Innovation Education and Research, 3(10), 97–116.