This study provides a comprehensive evaluation of the computational performance of R, MATLAB, Python, and Julia for spatial and spatio-temporal modelling, focusing on high-dimensional datasets typical in geospatial statistical analysis. We benchmark each language across key tasks, including matrix manipulations and transformations, iterative programming routines, and Input/Output processes, all of which are critical in environmetrics. The results demonstrate that MATLAB excels in matrix-based computations, while Julia consistently delivers competitive performance across a wide range of tasks, establishing itself as a robust, open-source alternative. Python, when combined with libraries like NumPy, shows strength in specific numerical operations, offering versatility for general-purpose programming. R, despite its slower default performance in raw computations, proves to be highly adaptable; by linking to optimized libraries like OpenBLAS or MKL and integrating C++ with packages like Rcpp, R achieves significant performance gains, becoming competitive with the other languages. This study also provides practical guidance for researchers to optimize R for geospatial data processing, offering insights to support the selection of the most suitable language for specific modelling requirements.
(2025). Computational Benchmark Study in Spatio-Temporal Statistics With a Hands-On Guide to Optimise R [journal article - articolo]. In ENVIRONMETRICS. Retrieved from https://hdl.handle.net/10446/311826
Computational Benchmark Study in Spatio-Temporal Statistics With a Hands-On Guide to Optimise R
Tedesco, Lorenzo;
2025-01-01
Abstract
This study provides a comprehensive evaluation of the computational performance of R, MATLAB, Python, and Julia for spatial and spatio-temporal modelling, focusing on high-dimensional datasets typical in geospatial statistical analysis. We benchmark each language across key tasks, including matrix manipulations and transformations, iterative programming routines, and Input/Output processes, all of which are critical in environmetrics. The results demonstrate that MATLAB excels in matrix-based computations, while Julia consistently delivers competitive performance across a wide range of tasks, establishing itself as a robust, open-source alternative. Python, when combined with libraries like NumPy, shows strength in specific numerical operations, offering versatility for general-purpose programming. R, despite its slower default performance in raw computations, proves to be highly adaptable; by linking to optimized libraries like OpenBLAS or MKL and integrating C++ with packages like Rcpp, R achieves significant performance gains, becoming competitive with the other languages. This study also provides practical guidance for researchers to optimize R for geospatial data processing, offering insights to support the selection of the most suitable language for specific modelling requirements.| File | Dimensione del file | Formato | |
|---|---|---|---|
|
Environmetrics+-+2025+-+Tedesco+-+Computational+Benchmark+Study+in+Spatio‐Temporal+Statistics+With+a+Hands‐On+Guide+to_compressed.pdf
accesso aperto
Versione:
publisher's version - versione editoriale
Licenza:
Creative commons
Dimensione del file
472.29 kB
Formato
Adobe PDF
|
472.29 kB | Adobe PDF | Visualizza/Apri |
Pubblicazioni consigliate
Aisberg ©2008 Servizi bibliotecari, Università degli studi di Bergamo | Terms of use/Condizioni di utilizzo

