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

R语言中文网

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

R语言构建和查询R或打包新闻信息print.news_db()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:09:55 | 显示全部楼层 |阅读模式
        R语言构建和查询R或打包新闻信息print.news_db()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:print.news_db()
R语言函数功能:构建和查询R或打包新闻信息
来自资源库:基础库(R语言自带)
print.news_db()函数所属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的4.0.0版本(对应于R的顶级<code>NEWS </ code>文件)发布以来,将使用该新闻构建新闻数据库。 。对于"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 g
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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