Learn R Programming

adapr (version 2.0.0)

parallelSync: Experimental (use with caution) parallel syncrhonization of project. Takes advantage of directed acyclic graph structure to run R script processes in parallel.

Description

Experimental (use with caution) parallel syncrhonization of project. Takes advantage of directed acyclic graph structure to run R script processes in parallel.

Usage

parallelSync(project.id = getProject(), n.cores = 2)

Arguments

project.id

Project to synchronize.

n.cores

Number of cores to use. Should be >1, but less than number of logical CPUs.

Value

data.frame with success/failure status.

Details

Experimental. See also monitorParallelSync(), syncProject() and syncTestProject(). Uses Results/tree_controller.R directory to pass work/completion data between nodes.

Examples

Run this code
# NOT RUN {
parallelsyncProject("adaprHome")
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab