Computation has become a critical component of research in biology. A risk has emerged that computational and programming challenges may limit research scope, depth, and quality. We review various solutions to common computational efficiency problems in ecological and evolutionary research. Our review pulls together material that is currently scattered across many sources and emphasizes those techniques that are especially effective for typical ecological and environmental problems. We demonstrate how straightforward it can be to write efficient code and implement techniques such as profiling or parallel computing. We supply a newly developed R package (
@ARTICLE{10.1371/journal.pcbi.1004140,
author = {Visser, Marco D. AND McMahon, Sean M. AND Merow, Cory AND Dixon,
Philip M. AND Record, Sydne AND Jongejans, Eelke},
title = {Speeding Up Ecological and Evolutionary Computations in R; Essentials
of High Performance Computing for Biologists},
journal = {PLoS Comput Biol},
year = {2015},
volume = {11},
pages = {e1004140},
number = {3},
month = {03},
abstract = {<p>Computation has become a critical component of research in biology.
A risk has emerged that computational and programming challenges
may limit research scope, depth, and quality. We review various solutions
to common computational efficiency problems in ecological and evolutionary
research. Our review pulls together material that is currently scattered
across many sources and emphasizes those techniques that are especially
effective for typical ecological and environmental problems. We demonstrate
how straightforward it can be to write efficient code and implement
techniques such as profiling or parallel computing. We supply a newly
developed R package (<italic>aprof</italic>) that helps to identify
computational bottlenecks in R code and determine whether optimization
can be effective. Our review is complemented by a practical set of
examples and detailed Supporting Information material (<xref ref-type="supplementary-material"
rid="pcbi.1004140.s001">S1</xref>–<xref ref-type="supplementary-material"
rid="pcbi.1004140.s003">S3</xref> Texts) that demonstrate large improvements
in computational speed (ranging from 10.5 times to 14,000 times faster).
By improving computational efficiency, biologists can feasibly solve
more complex tasks, ask more ambitious questions, and include more
sophisticated analyses in their research.</p>},
doi = {10.1371/journal.pcbi.1004140},
file = {:journal.pcbi.1004140.pdf:PDF},
owner = {Tiago Marques},
publisher = {Public Library of Science},
timestamp = {2015.07.04},
url = {http://dx.doi.org/10.1371%2Fjournal.pcbi.1004140}
}