isPkgAvailable(sessionTools)
isPkgAvailable()所属R语言包:sessionTools
Check Availability of R Packages
检查的R套件的可用性
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Check the repositories for availability of packages and return a boolean indicating whether the package is found.
检查仓库的软件包的可用性,并返回一个布尔值,指示是否找到包。
用法----------Usage----------
isPkgAvailable(pkg, repos = getOption("repos"), version)
参数----------Arguments----------
参数:pkg
package names. Either a single string or an array of strings.
包名。一个字符串或一个字符串数组。
参数:repos
Repositories to search.
信息库进行搜索。
参数:version
The specific package version. Currently ignored.
特定的软件包的版本。目前忽略不计。
值----------Value----------
Boolean indicating whether the package is available. One boolean for each package name provided.
布尔值,指示包装是否可用。提供一个布尔每包名。
(作者)----------Author(s)----------
Matthew D. Furia <a href="mailto:matt.furia@sagebase.org">matt.furia@sagebase.org</a>
<a href="https://github.com/MattNapsAlot">https://github.com/MattNapsAlot</a>
参见----------See Also----------
restorePackages
restorePackages
实例----------Examples----------
## Not run: [#不运行:]
ans <- isPkgAvailable(c("Biobase", "stats", "thisIsAFakePackage"))
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|