IDEAS home Printed from https://ideas.repec.org/a/rsr/journl/v63y2015i3p109-117.html
   My bibliography  Save this article

Accelerating R with high performance linear algebra libraries

Author

Listed:
  • Bogdan Oancea

    (“Nicolae Titulescu” University of Bucharest)

  • Tudorel Andrei

    (National Statistics Institute of Romania)

  • Raluca Mariana Dragoescu

    (The Bucharest University of Economic Studies)

Abstract

Linear algebra routines are basic building blocks for the statistical software. In this paper we analyzed how can we improve R performance for matrix computations. We benchmarked few matrix operations using the standard linear algebra libraries included in the R distribution and high performance libraries like OpenBLAS, GotoBLAS and MKL. Our tests showed the best results are obtained with the MKL library, the other two libraries having similar performances, but lower than MKL.

Suggested Citation

  • Bogdan Oancea & Tudorel Andrei & Raluca Mariana Dragoescu, 2015. "Accelerating R with high performance linear algebra libraries," Romanian Statistical Review, Romanian Statistical Review, vol. 63(3), pages 109-117, September.
  • Handle: RePEc:rsr:journl:v:63:y:2015:i:3:p:109-117
    as

    Download full text from publisher

    File URL: http://www.revistadestatistica.ro/wp-content/uploads/2015/07/RRS3_2015_A10.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Eddelbuettel, Dirk & Sanderson, Conrad, 2014. "RcppArmadillo: Accelerating R with high-performance C++ linear algebra," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 1054-1063.
    2. Bates, Douglas & Eddelbuettel, Dirk, 2013. "Fast and Elegant Numerical Linear Algebra Using the RcppEigen Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 52(i05).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Bogdan Oancea & Tudorel Andrei & Raluca Mariana Dragoescu, 2016. "An R implementation of a Recurrent Neural Network Trained by Extended Kalman Filter," Romanian Statistical Review, Romanian Statistical Review, vol. 64(2), pages 125-133, June.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Aaron T L Lun & Hervé Pagès & Mike L Smith, 2018. "beachmat: A Bioconductor C++ API for accessing high-throughput biological data from a variety of R matrix types," PLOS Computational Biology, Public Library of Science, vol. 14(5), pages 1-15, May.
    2. Jos'e Vin'icius de Miranda Cardoso & Jiaxi Ying & Daniel Perez Palomar, 2020. "Algorithms for Learning Graphs in Financial Markets," Papers 2012.15410, arXiv.org.
    3. Napoleón Vargas Jurado & Kent M. Eskridge & Stephen D. Kachman & Ronald M. Lewis, 2018. "Using a Bayesian Hierarchical Linear Mixing Model to Estimate Botanical Mixtures," Journal of Agricultural, Biological and Environmental Statistics, Springer;The International Biometric Society;American Statistical Association, vol. 23(2), pages 190-207, June.
    4. Pötscher, Benedikt M. & Preinerstorfer, David, 2023. "How Reliable Are Bootstrap-Based Heteroskedasticity Robust Tests?," Econometric Theory, Cambridge University Press, vol. 39(4), pages 789-847, August.
    5. Martinetti, Davide & Geniaux, Ghislain, 2017. "Approximate likelihood estimation of spatial probit models," Regional Science and Urban Economics, Elsevier, vol. 64(C), pages 30-45.
    6. Etienne Côme & Nicolas Jouvin & Pierre Latouche & Charles Bouveyron, 2021. "Hierarchical clustering with discrete latent variable models and the integrated classification likelihood," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 15(4), pages 957-986, December.
    7. Tilman M. Davies & Sudipto Banerjee & Adam P. Martin & Rose E. Turnbull, 2022. "A nearest‐neighbour Gaussian process spatial factor model for censored, multi‐depth geochemical data," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 71(4), pages 1014-1043, August.
    8. Helmut Lütkepohl & Fei Shang & Luis Uzeda & Tomasz Woźniak, 2024. "Partial Identification of Heteroskedastic Structural VARs: Theory and Bayesian Inference," Discussion Papers of DIW Berlin 2081, DIW Berlin, German Institute for Economic Research.
    9. Battauz, Michela & Vidoni, Paolo, 2022. "A likelihood-based boosting algorithm for factor analysis models with binary data," Computational Statistics & Data Analysis, Elsevier, vol. 168(C).
    10. Harold Doran, 2023. "A Collection of Numerical Recipes Useful for Building Scalable Psychometric Applications," Journal of Educational and Behavioral Statistics, , vol. 48(1), pages 37-69, February.
    11. Cardona Jiménez, Johnatan & de B. Pereira, Carlos A., 2021. "Assessing dynamic effects on a Bayesian matrix-variate dynamic linear model: An application to task-based fMRI data analysis," Computational Statistics & Data Analysis, Elsevier, vol. 163(C).
    12. Lu Chen & Balgobin Nandram, 2023. "Bayesian Logistic Regression Model for Sub-Areas," Stats, MDPI, vol. 6(1), pages 1-23, January.
    13. Braun, Michael, 2014. "trustOptim: An R Package for Trust Region Optimization with Sparse Hessians," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 60(i04).
    14. Maximilian Böck & Martin Feldkircher & Florian Huber, 2020. "BGVAR: Bayesian Global Vector Autoregressions with Shrinkage Priors in R," Globalization Institute Working Papers 395, Federal Reserve Bank of Dallas.
    15. Shen, Yunyi & Olson, Erik R. & Van Deelen, Timothy R., 2021. "Spatially explicit modeling of community occupancy using Markov Random Field models with imperfect observation: Mesocarnivores in Apostle Islands National Lakeshore," Ecological Modelling, Elsevier, vol. 459(C).
    16. Zhe Yu & Raquel Prado & Erin Burke Quinlan & Steven C. Cramer & Hernando Ombao, 2016. "Understanding the Impact of Stroke on Brain Motor Function: A Hierarchical Bayesian Approach," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 111(514), pages 549-563, April.
    17. Matthew Pietrosanu & Jueyu Gao & Linglong Kong & Bei Jiang & Di Niu, 2021. "Advanced algorithms for penalized quantile and composite quantile regression," Computational Statistics, Springer, vol. 36(1), pages 333-346, March.
    18. Jonathan Berrisch & Florian Ziel, 2021. "CRPS Learning," Papers 2102.00968, arXiv.org, revised Nov 2021.
    19. Ankargren, Sebastian & Jonéus, Paulina, 2021. "Simulation smoothing for nowcasting with large mixed-frequency VARs," Econometrics and Statistics, Elsevier, vol. 19(C), pages 97-113.
    20. Lee, Xing Ju & Hainy, Markus & McKeone, James P. & Drovandi, Christopher C. & Pettitt, Anthony N., 2018. "ABC model selection for spatial extremes models applied to South Australian maximum temperature data," Computational Statistics & Data Analysis, Elsevier, vol. 128(C), pages 128-144.

    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:rsr:journl:v:63:y:2015:i:3:p:109-117. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Adrian Visoiu (email available below). General contact details of provider: https://edirc.repec.org/data/stagvro.html .

    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.