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

R语言 graph包 buildRepDepGraph()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 21:06:13 | 显示全部楼层 |阅读模式
buildRepDepGraph(graph)
buildRepDepGraph()所属R语言包:graph

                                        Functionality to manage repository dependency graphs
                                         功能来管理库的依赖关系图

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

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

These functions can be used to represent and manipulate dependency graphs for a specified package repository.
这些功能可以用来表示和操作指定的包库的依赖关系图。


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


buildRepDepGraph(repository, depLevel = c("Depends", "Suggests"))
pkgInstOrder(pkg, repGraph)



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

参数:repository
A URL to a CRAN style repository
CRAN风格库的URL


参数:depLevel
One of Depends or Suggests, detailing the level of dependencies to search.  The Suggests value includes everything in Depends.
Depends或Suggests详细搜索的依赖程度,之一。 Suggests值包括一切Depends。


参数:pkg
The package to get the installation order for
包的安装顺序


参数:repGraph
A graph object representing a repository, as from buildRepDepGraph
一个graph对象代表一个仓库,从buildRepDepGraph


值----------Value----------

For buildRepDepGraph, a graph representing the dependency structure of the specified repository, where an edge from node A to node B represents a dependency on B by A.
buildRepDepGraph,代表指定仓库的依赖结构图,从节点的边缘A节点B上BA依赖 。

For pkgInstOrder, a vector is returned, listing the appropriate order one would take to install all of the necessary packages to install the specified package.  That is, it makes sure that at every step, any package being installed does not depend on one that has not yet been installed.  This order can then be used with functions such as install.packages.
pkgInstOrder,返回向量,列出将采取适当的顺序安装所有必要的软件包,安装指定的包。也就是说,它可以确保正在安装任何包,每一步,不取决于尚未安装。这条命令,然后可以用功能,如install.packages。


作者(S)----------Author(s)----------


Jeff Gentry



举例----------Examples----------


   if("FIXME"=="Jeff, we can't assume that we're always online - wh") {
       repos <- getOption("repositories")["BIOC"] ## Get BIOC repos[#获取BIOC回购。]
       buildRepDepGraph(repos)
   }

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 18:00 , Processed in 0.024565 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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