Last data update: 2014.03.03
|
R: Export variables to doMPI cluster
exportDoMPI | 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)
Results
|