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%↓↓↓
|