R语言包装说明print.packageDescription()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:print.packageDescription()
R语言函数功能:包装说明
来自资源库:基础库(R语言自带)
print.packageDescription()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
Parses and returns the <code>DESCRIPTION</code> file of a package as a "packageDescription".
解析并以"packageDescription"的形式返回程序包的<code>DESCRIPTION </ code>文件。
Utility functions return (transformed) parts of that.
实用函数返回(转换的)部分。
使用方法-----Usage-----
packageDescription(pkg, lib.loc = NULL, fields = NULL,
drop = TRUE, encoding = "")
packageVersion(pkg, lib.loc = NULL)
packageDate(pkg, lib.loc = NULL,
date.fields = c("Date", "Packaged", "Date/Publication", "Built"),
tryFormats = c("%Y-%m-%d", "%Y/%m/%d", "%D", "%m/%d/%y"),
desc = packageDescription(pkg, lib.loc=lib.loc, fields=date.fields))
asDateBuilt(built)
参数-----Arguments-----
参数pkg介绍: a character string with the package name.
带有软件包名称的字符串。
参数lib.loc介绍: a character vector of directory names of R libraries, or NULL. The default value of NULL corresponds to all libraries currently known. If the default is used, the loaded packages and namespaces are searched before the libraries.
R库或NULL目录名称的字符向量。 NULL的默认值对应于当前已知的所有库。如果使用默认值,则会在库之前搜索已加载的程序包和名称空间。
参数fields介绍: a character vector giving the tags of fields to return (if other fields occur in the file they are ignored).
给出要返回的字段标签的字符向量(如果文件中出现其他字段,则将其忽略)。
参数drop介绍: If TRUE and the length of fields is 1, then a single character string with the value of the respective field is returned instead of an object of class "packageDescription".
如果TRUE且fields的长度为1,则返回具有相应字段值的单个字符串,而不是返回类"packageDescription"的对象。
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
|