R语言构建和查询R或打包新闻信息news()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:news()
R语言函数功能:构建和查询R或打包新闻信息
来自资源库:基础库(R语言自带)
news()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
Build and query the news data base for R or add-on packages.
为R或附加程序包构建和查询新闻数据库。
使用方法-----Usage-----
news(query, package = "R", lib.loc = NULL, format = NULL,
reader = NULL, db = NULL)
## S3 method for class 'news_db' S3 method for class 'news_db'
print(x, doBrowse = interactive(),
browser = getOption("browser"), ...)
参数-----Arguments-----
参数query介绍: an expression for selecting news entries
用于选择新闻条目的表达式
参数package介绍: a character string giving the name of an installed add-on package, or "R" or "R-3" or "R-2"
给出安装的附加软件包名称的字符串,或者"R"或"R-3"或"R-2"
</table>
.
参数lib.loc介绍: a character vector of directory names of R libraries, or NULL. The default value of NULL corresponds to all libraries currently known.
R库的目录名称或NULL的字符向量。 NULL的默认值对应于当前已知的所有库。
参数format介绍: Not yet used.
尚未使用。
参数reader介绍: Not yet used.
尚未使用。
参数db, x介绍: a news db obtained from news().
从news()获得的新闻数据库。
参数doBrowse介绍: logical specifying that the news should be opened in the browser (by browseURL, accessible as via help.start) instead of printed to the console.
逻辑指定应在浏览器中打开新闻(通过browseURL,可通过help.start访问),而不是打印到控制台。
参数browser介绍: the browser to be used, see browseURL.
要使用的浏览器,请参阅browseURL。
参数...介绍: potentially further arguments passed to print().
可能还会有其他参数传递给print()。
详情-----Details-----
If package is "R" (default), a news db is built with the news since the 4.0.0 release of R (corresponding to R's top-level <code>NEWS</code> file). For "R-3" or "R-2". news for R 3.x.y or R 2.x.y respectively. Otherwise, if the given add-on package can be found in the given libraries, it is attempted to read its news in structured form from files <code>inst/NEWS.Rd</code> , <code>NEWS.md</code> (since R version 3.6.0, needs packages commonmark and xml2 to be available), <code>NEWS</code> or <code>inst/NEWS</code> (in that order).
如果package是"R"(默认值),则从R(对应于R的顶级<code>NEWS </ code>文件4.0.0版本)开始,将使用该新闻构建新闻数据库。对于"R-3"或"R-2"。有关R 3.x.y或R 2.x.y的新闻。否则,如果可以在给定的库中找到给定的附加软件包,则尝试从文件<code>inst/NEWS.Rd </ code>,<code>NEWS.md </ code>(因为R版本3.6.0版本需要软件包)中以结构化形式读取其新闻。 commonmark和xml2可用),<code>NEWS </ code>或<code>inst/NEWS </ code>(按此顺序)。
File <code>inst/NEWS.Rd</code> should be an Rd file given the entrie
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
|