ocLapply(oligoClasses)
ocLapply()所属R语言包:oligoClasses
lapply-like function that parallelizes code when possible.
lapply类似功能的并行代码在可能的情况下。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
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是lapply类似的功能检查,如果FF /雪加载如果聚类变量设置为执行聚类上的乐趣。如果这些要求都无法使用,然后lapply使用。
用法----------Usage----------
ocLapply(X, FUN, ..., neededPkgs)
参数----------Arguments----------
参数:X
first argument to FUN.
第一个参数乐趣。
参数:FUN
function to be executed.
要执行的函数。
参数:...
additional arguments to FUN.
玩转额外的参数。
参数:neededPkgs
packages needed to execute FUN on the compute nodes.
包需要执行计算节点上的乐趣。
Details
详情----------Details----------
neededPkgs is needed when parallel computing is expected to be used. These packages are loaded on the compute nodes before the execution of FUN.
neededPkgs需要时预计将用于并行计算。这些包装上的计算节点之前执行的乐趣。
值----------Value----------
A list of length length(X).
一个长度为length(X)的名单。
作者(S)----------Author(s)----------
Benilton S Carvalho
参见----------See Also----------
lapply, setCluster, parStatus
lapply,setCluster,执行parstatus
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|