找回密码
 注册
查看: 352|回复: 0

R语言 snowFT包 snowFT-startstop()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:06:27 | 显示全部楼层 |阅读模式
snowFT-startstop(snowFT)
snowFT-startstop()所属R语言包:snowFT

                                        Starting snowFT Cluster
                                         启动snowFT聚类

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Functions to start a snowFT cluster and to set default cluster options.
的的功能开始snowFT的的聚类,并设置默认的聚类选项。


用法----------Usage----------


makeClusterFT(spec, type = getClusterOption("type"),
    names = NULL, ft_verbose = FALSE, ...)



参数----------Arguments----------

参数:spec
Cluster size.
簇的大小。


参数:type
Character string that specifies cluster type. "PVM", "MPI" and "SOCK" are supported.
字符串,指定聚类的类型。 “PVM的”,“MPI”和“SOCK”支持。


参数:names
Used only for the "SOCK" layer. It should be a vector of host names, or a list containing specification for each host (see Example in makeCluster). Due to the dynamic resizing feature, the length of this vector (or list) does not need to match the size of the cluster spec - it is used as a pool from which hosts are taken as they are needed. If names is NULL, each node is started on "localhost".
仅用于为“SOCK层。这应该是一个矢量的主机名,或为每个主机的列表,其中包含规范(见例中makeCluster)。由于动态调整大小功能,此向量的长度(或列表)并不需要的大小相匹配的聚类spec - 它是用来作为从该主机的池,因为它们是需要采取。如果namesNULL,每个节点上启动localhost的。


参数:ft_verbose
If TRUE, debugging messages are sent to standard output.
如果是TRUE,调试信息发送到标准输出。


参数:...
Cluster option specifications. A useful option is outfile, specifying name of a file to which slave node output is to be directed.
聚类选项规格。一个有用的选项是outfile,指定名称的文件,从节点的输出被定向。


Details

详细信息----------Details----------

makeClusterFT starts a cluster of the specified or default type, loads the snowFT library on each node and returns a reference to the cluster. See makeCluster for more details.
makeClusterFT启动一个聚类指定的或默认的类型,snowFT库加载的每个节点上,并返回一个引用到聚类。见makeCluster更多详情。

The cluster should be stopped by stopCluster of the snow package.
应停止stopClustersnow包的聚类。


参见----------See Also----------

snow-startstop functions of the snow package.
snow-startstop的雪包的功能。


实例----------Examples----------


## Not run: [#不运行:]
cl <- makeClusterFT(5)
res <- clusterApplyFT(cl, 1:10, get("+"), 3)
stopCluster(res[[2]])
print(res[[1]])
  
## End(Not run)[#(不执行)]

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-8 03:11 , Processed in 0.044826 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表