ocLapply {oligoClasses} | R Documentation |
ocLapply is an lapply-like function that checks if ff/snow are loaded and if the cluster variable is set to execute FUN on a cluster. If these requirements are not available, then lapply is used.
ocLapply(X, FUN, ..., neededPkgs)
X |
first argument to FUN. |
FUN |
function to be executed. |
... |
additional arguments to FUN. |
neededPkgs |
packages needed to execute FUN on the compute nodes. |
neededPkgs
is needed when parallel computing is expected to be
used. These packages are loaded on the compute nodes before the
execution of FUN.
A list of length length(X).
Benilton S Carvalho
lapply, parStatus