zeligDepUpdate(Zelig)
zeligDepUpdate()所属R语言包:Zelig
Download Zelig Dependencies Packages
策利希的依赖包
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compares the packages in Zelig-matrix of dependencies to the locally installed packages. Finds local packages that have lower versions than in the corresponding row of the Zelig-matrix. Also, finds packages that Zelig required but are not installed locally. Downloads packages that are locally installed with lower versions and those from the Zelig-matrix that are not installed. The download repository is taken from either the default <VAR>repos</VAR> argument or from the "URL" column of the Zelig-matrix of dependencies.
比较策利希的依赖关系矩阵中的包到本地安装的软件包。查找本地套餐有较低的版本比策利希矩阵中相应的行。此外,发现包Zelig必需的,但不会在本地安装。下载与本地安装的较低版本的策利希矩阵未安装的软件包。下载库的默认<VAR>repos</VAR>参数的依赖关系矩阵的策利希从“URL”一栏。
用法----------Usage----------
zeligDepUpdate(destdir = NULL, installWithVers = FALSE, lib.loc = NULL,
repos = "http://cran.r-project.org")
参数----------Arguments----------
参数:destdir
directory to store the compress source-codes of packages that are downloaded from web repositories.
目录来存储源代码的包,从网络仓库下载的压缩。
参数:installWithVers
if TRUE, will invoke the install of the package such that it can be referenced by package version.
如果为TRUE,将调用安装的包,包的版本,它可以被引用。
参数:lib.loc
character vector describing the location of R library trees to search through (and update packages therein).
字符向量描述R库的树型搜索的位置(和更新包的)。
参数:repos
character vector, the base URL(s) of the repositories to use, i.e. the URL of the CRAN master such as "http://cran.r-project.org", which is the default, or its Statlib mirror, "http://lib.stat.cmu.edu/R/CRAN". Can be NULL to install from local zip files.
矢量字符,使用该库的基础URL(S),即的URL如CRAN主“http://cran.r-project.org”,这是的默认,或Statlib的的镜子。“ “; http://lib.stat.cmu.edu/R/CRAN”。可以NULL安装从本地ZIP文件。
值----------Value----------
No return value.
没有返回值。
注意----------Note----------
Installs first level dependencies packages of Zelig using R function install.packages with the variable <VAR>dependencies</VAR> set equal to TRUE. If the installed packages have versions higher than the corresponding entry in Zelig-matrix, they are reported with a message. If the R version in the local environment is different from the R version that Zelig depends on, then, it is reported with a message and no futher action is taken.
安装第一级的依赖包的ZeligR的功能install.packages的变量<VAR>dependencies</VAR>等于设置为TRUE。如果已安装的包的版本高于策利希矩阵中的相应条目,它们报告带有一个消息。然后,如果在本地环境中的R版本是从R版本Zelig取决于不同,它是报道消息,没有进一步采取行动。
(作者)----------Author(s)----------
Ferdinand Alimadhi and Elena Villalon
参考文献----------References----------
http://gking.harvard.edu/zelig.
参见----------See Also----------
zeligDepStatus install.packages
zeligDepStatusinstall.packages
实例----------Examples----------
##checks all libraries curently know for packages[#检查所有的库curently知道的软件包]
## Not run: zeligDepUpdate()[#不运行:zeligDepUpdate()]
##finds packages only in lib.loc[#只发现包在lib.loc]
## Not run: zeligDepUpdate(lib.loc="~/.R/mylibrary")[#不运行:zeligDepUpdate(lib.loc =“~/ .R / MyLibrary的”)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|