Taking R to its limits: 70+ tips

University of Crete, Herakleion, Crete, Greece
DOI
10.7287/peerj.preprints.26605v1
Subject Areas
Bioinformatics, Computational Biology, Computational Linguistics, Data Mining and Machine Learning, Data Science
Keywords
R efficiency, R, speed
Copyright
© 2018 Tsagris et al.
Licence
This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Preprints) and either DOI or URL of the article must be cited.
Cite this article
Tsagris M, Papadakis M. 2018. Taking R to its limits: 70+ tips. PeerJ Preprints 6:e26605v1

Abstract

R has many capabilities most of which are not known by many users, yet waiting to be discovered. For this reason we provide more tips on how to write really efficient code without having to program in C++, programming advice, and tips to avoid errors and numerical overflows. This is the first time, to the best of our knowledge, that such a long list of tips is provided. The tips are categorized, according to their use, for matrices, simple functions, numerical optimization, parallel computing, programming tips, general advice, etc.

Author Comment

We have gathered more than 70 tips on how to improve the user's skills when writing R code.

Tips for efficiency, memory savings, programming advice and more are included.