exportDoMPI {doMPI} | R Documentation |
Export variables to doMPI cluster
Description
The exportDoMPI
function exports variables to a doMPI cluster.
Usage
exportDoMPI(cl, varlist, envir=.GlobalEnv)
Arguments
cl |
The doMPI cluster. |
varlist |
Vector of variable names. |
envir |
Environment to get variables from. |
Examples
## Not run:
cl <- startMPIcluster(count=2)
f <- function() 'foo'
g <- function() f()
exportDoMPI(cl, c('f', 'g'))
## End(Not run)
[Package doMPI version 0.2.2 Index]