IDEAS home Printed from https://ideas.repec.org/a/wly/envmet/v36y2025i5ne70017.html
   My bibliography  Save this article

Computational Benchmark Study in Spatio‐Temporal Statistics With a Hands‐On Guide to Optimise R

Author

Listed:
  • Lorenzo Tedesco
  • Jacopo Rodeschini
  • Philipp Otto

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.

Suggested Citation

  • Lorenzo Tedesco & Jacopo Rodeschini & Philipp Otto, 2025. "Computational Benchmark Study in Spatio‐Temporal Statistics With a Hands‐On Guide to Optimise R," Environmetrics, John Wiley & Sons, Ltd., vol. 36(5), July.
  • Handle: RePEc:wly:envmet:v:36:y:2025:i:5:n:e70017
    DOI: 10.1002/env.70017
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/env.70017
    Download Restriction: no

    File URL: https://libkey.io/10.1002/env.70017?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wly:envmet:v:36:y:2025:i:5:n:e70017. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Wiley Content Delivery (email available below). General contact details of provider: http://www.interscience.wiley.com/jpages/1180-4009/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.