RCOMPSs: A Task-based Parallel Programming Model in R
Abstract
R is widely used for scientific and statistical computing, and its package ecosystem supports a broad range of reproducible analyses. This paper introduces RCOMPSs, an R binding to the COMPSs runtime for task-based parallel execution. Users write standard R code and mark selected functions as tasks. The runtime then tracks dependencies, schedules tasks, moves data, and executes them across available resources. RCOMPSs is intended to complement existing R parallel frameworks by supporting workflows that benefit from explicit task dependencies. We evaluate it with three representative algorithms, k-nearest neighbors classification, k-means clustering, and linear regression with predictions, on KAUST’s Shaheen III and BSC’s MareNostrum 5. The experiments examine execution-time scaling and workflow trade-offs in single-node comparisons and distributed-memory runs. Overall, RCOMPSs adds COMPSs task-based execution to the R parallel ecosystem for scalable statistical workflows.
// Source
Authors: Xiran Zhang, Javier Conejero, Sameh Abdulah, Jorge Ejarque, Ying Sun, Rosa M. Badia, David Elliot Keyes, Marc G. Genton
Institutions: King Abdullah University of Science and Technology, Barcelona Supercomputing Center