The R Journal: article published in 2013, volume 5:2

Dynamic Parallelization of R Functions PDF download
Stefan Böhringer , The R Journal (2013) 5:2, pages 88-96.

Abstract R offers several extension packages that allow it to perform parallel computations. These operate on fixed points in the program flow and make it difficult to deal with nested parallelism and to organize parallelism in complex computations in general. In this article we discuss, first, of how to detect parallelism in functions, and second, how to minimize user intervention in that process. We present a solution that requires minimal code changes and enables to flexibly and dynamically choose the degree of parallelization in the resulting computation. An implementation is provided by the R package parallelize.dynamic and practical issues are discussed with the help of examples.

Received: 2013-03-29; online 2013-12-27
CRAN packages: Rsge, foreach, boot, snow, parallelize.dynamic
CRAN Task Views implied by cited CRAN packages: HighPerformanceComputing, Econometrics, Optimization, SocialSciences, Survival, TimeSeries

CC BY 4.0
This article is licensed under a Creative Commons Attribution 3.0 Unported license .

  author = {Stefan Böhringer},
  title = {{Dynamic Parallelization of R Functions}},
  year = {2013},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2013-029},
  url = {},
  pages = {88--96},
  volume = {5},
  number = {2}