设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 733|回复: 0

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

[复制链接]
发表于 2020-8-21 08:13:34 | 显示全部楼层 |阅读模式
        R语言在类似CRAN的存储库中列出可用软件包R_AVAILABLE_PACKAGES_CACHE_CONTROL_MAX_AGE()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:R_AVAILABLE_PACKAGES_CACHE_CONTROL_MAX_AGE()
R语言函数功能:在类似CRAN的存储库中列出可用软件包
来自资源库:基础库(R语言自带)
R_AVAILABLE_PACKAGES_CACHE_CONTROL_MAX_AGE()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

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

available.packages returns a matrix of details corresponding to packages currently available at one or more repositories. The current list of packages is downloaded over the internet (or copied from a local mirror).
available.packages返回与一个或多个存储库中当前可用的软件包相对应的详细信息矩阵。当前软件包列表是通过Internet下载的(或从本地镜像复制的)。


使用方法-----Usage-----

available.packages(contriburl = contrib.url(repos, type), method,
fields = NULL, type = getOption("pkgType"),
filters = NULL, repos = getOption("repos"),
ignore_repo_cache = FALSE, max_repo_cache_age,
quiet = TRUE, ...)

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

参数contriburl介绍: URL(s) of the <code>contrib</code> sections of the repositories. Specify this argument only if your repository mirror is incomplete, e.g., because you burned only the <code>contrib</code> section on a CD.
存储库的<code>contrib </ code>部分的URL。仅当您的存储库镜像不完整时才指定此参数,例如,因为仅刻录了CD上的<code>contrib </ code>部分。

参数method介绍: download method, see download.file.
下载方法,请参阅download.file。

参数type介绍: character string, indicate which type of packages: see install.packages.
字符串,指示包的类型:请参阅install.packages。

If type = "both" this will use the source repository.
如果type = "both"将使用源存储库。

参数fields介绍: a character vector giving the fields to extract from the <code>PACKAGES</code> file(s) in addition to the default ones, or NULL (default). Unavailable fields result in NA values.
字符向量,除了默认文件或NULL(默认值)外,还提供从<code>PACKAGES </ code>文件中提取的字段。不可用的字段会导致NA值。

参数filters介绍: a character vector or list or NULL (default). See Details .
字符向量或列表或NULL(默认值)。请参阅Details。

参数repos介绍: character vector, the base URL(s) of the repositories to use.
字符向量,要使用的存储库的基本URL。

参数ignore_repo_cache介绍: logical. If true, the repository cache is never used (see Details ).
符合逻辑如果为true,则从不使用存储库缓存(请参阅Details)。

参数max_repo_cache_age介绍: any cached values older than this in seconds will be ignored. See Details .
任何缓存的早于此值(以秒为单位)的值将被忽略。请参阅Details。

参数quiet介绍: logical, passed to download.file(); change only if you know what you are doing.
逻辑,传递给download.file();仅在知道自己在做什么时才更改。

参数...介绍: allow additional arguments to be passed from callers (which might be arguments to future versions of this f
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-20 23:22 , Processed in 0.034586 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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