The bdpar Package: Big Data Pipelining Architecture for R

In the last years, big data has become a useful paradigm for taking advantage of multiple sources to find relevant knowledge in real domains (such as the design of personalized marketing campaigns or helping to palliate the effects of several fatal diseases). Big data programming tools and methods have evolved over time from a MapReduce to a pipeline-based archetype. Concretely the use of pipelining schemes has become the most reliable way of processing and analyzing large amounts of data. To this end, this work introduces bdpar, a new highly customizable pipeline-based framework (using the OOP paradigm provided by R6 package) able to execute multiple preprocessing tasks over heterogeneous data sources. Moreover, to increase the flexibility and performance, bdpar provides helpful features such as (i) the definition of a novel object-based pipe operator ( %>|%), (ii) the ability to easily design and deploy new (and customized) input data parsers, tasks, and pipelines, (iii) only-once execution which avoids the execution of previously processed information (instances), guaranteeing that only new both input data and pipelines are executed, (iv) the capability to perform serial or parallel operations according to the user needs, (v) the inclusion of a debugging mechanism which allows users to check the status of each instance (and find possible errors) throughout the process.

Miguel Ferreiro-Díaz (Department of Computer Science) , Tomás R. Cotos-Yáñez (Department of Statistics and Operations Research) , José R. Méndez (Department of Computer Science) , David Ruano-Ordás (Department of Computer Science)

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at



Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Ferreiro-Díaz, et al., "The R Journal: The bdpar Package: Big Data Pipelining Architecture for R", The R Journal, 2021

BibTeX citation

  author = {Ferreiro-Díaz, Miguel and Cotos-Yáñez, Tomás R. and Méndez, José R. and Ruano-Ordás, David},
  title = {The R Journal: The bdpar Package: Big Data Pipelining Architecture for R},
  journal = {The R Journal},
  year = {2021},
  note = {},
  doi = {10.32614/RJ-2021-065},
  volume = {13},
  issue = {1},
  issn = {2073-4859},
  pages = {131-145}