This module provides intelligent selection and setup of R parallelization frameworks based on OS capabilities and available packages.
Arguments
- X
A vector or list to iterate over
- FUN
Function to apply to each element
- n_cores
Number of cores to use (NULL for auto-detection)
- ...
Additional arguments passed to FUN
- setup
Advanced: Optional pre-configured setup object from
setup_parallel(). If provided, n_cores is ignored. Most users should omit this parameter. Reusing setup is more efficient for multiple operations.