dependsOnPkgs(tools)
dependsOnPkgs()所属R语言包:tools
Find Reverse Dependencies
反向依存关系
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Find "reverse" dependencies of packages, that is those packages which depend on this one, and (optionally) so on recursively.
找到“反向”软件包的依赖关系,即是那些依赖这个包,和(可选)等递归。
用法----------Usage----------
dependsOnPkgs(pkgs,
dependencies = c("Depends", "Imports", "LinkingTo"),
recursive = TRUE, lib.loc = NULL,
installed = installed.packages(lib.loc, fields = "Enhances"))
参数----------Arguments----------
参数:pkgs
a character vector of package names.
特征向量的包名。
参数:dependencies
a character vector listing the types of dependencies, a subset of c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances"). Character string "all" is shorthand for that vector.
字符向量列出的依赖关系的类型,c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances")子集。字符串"all"是该向量的简写。
参数:recursive
logical: should reverse dependencies of reverse dependencies (and so on) be included?
逻辑:应扭转反向依赖(等)被列入的依赖关系?
参数:lib.loc
a character vector of R library trees, or NULL for all known trees (see .libPaths).
特征向量的R库树木,或NULL所有已知的树木(见.libPaths)。
参数:installed
a result of calling installed.packages.
调用installed.packages的结果。
值----------Value----------
A character vector of package names, which does not include any from pkgs.
一个包名的字符向量,其中不包括任何从pkgs。
举例----------Examples----------
## there are few dependencies in a vanilla R installation[#有香草R安装一些依赖]
dependsOnPkgs("lattice")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|