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

R语言中文网

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

R语言文献资料help()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:05:14 | 显示全部楼层 |阅读模式
        R语言文献资料help()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:help()
R语言函数功能:文献资料
来自资源库:基础库(R语言自带)
help()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

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

help is the primary interface to the help systems.
help是帮助系统的主要界面。


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

help(topic, package = NULL, lib.loc = NULL,
verbose = getOption("verbose"),
try.all.packages = getOption("help.try.all.packages"),
help_type = getOption("help_type"))

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

参数topic介绍: usually, a name or character string specifying the topic for which help is sought. A character string (enclosed in explicit single or double quotes) is always taken as naming a topic.
通常,名称或字符串指定要寻求帮助的主题。字符串(用明确的单引号或双引号引起来)始终被当作主题的命名。

If the value of topic is a length-one character vector the topic is taken to be the value of the only element. Otherwise topic must be a name or a reserved word (if syntactically valid) or character string.
如果topic的值是一个长度为1的字符向量,则将主题视为唯一元素的值。否则,topic必须是名称或保留字(如果在语法上有效)或字符串。

See Details for what happens if this is omitted.
请参阅Details,以了解如果忽略此操作将发生的情况。

参数package介绍: a name or character vector giving the packages to look into for documentation, or NULL. By default, all packages whose namespaces are loaded are used. To avoid a name being deparsed use e.g. (pkg_ref) (see the examples).
提供软件包以供查找文档的名称或字符向量,或NULL。默认情况下,将使用其名称空间已加载的所有软件包。为了避免名字被贬低,请使用例如(pkg_ref)(请参见示例)。

参数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 are searched before the libraries. This is not used for HTML help (see Details ).
R库或NULL目录名称的字符向量。 NULL的默认值对应于当前已知的所有库。如果使用默认值,则会在库之前搜索已加载的软件包。 HTML帮助不使用此功能(请参阅Details)。

参数verbose介绍: logical; if TRUE, the file name is reported.
逻辑如果为TRUE,则报告文件名。

参数try.all.packages介绍: logical; see Note.
逻辑请参阅Note。

参数help_type介绍: character string: the type of help required. Possible values are "text", "html" and "pdf". Case is ignored, and partial matching is allowed.
字符串:所需帮助的类型。可能的值是"text","html"和"pdf"。忽略大小写,并且允许部分匹配。


详情-----Details-----

The following types of help are available:
可以使用以下类型的帮助:

Plain text help
纯文本帮助

HTML help pages with hyperlinks to other topics, shown in a browser by browseURL.
HTML帮助页面以及指向其他主题的超链接,由browseURL在浏览器中显示。

(On Unix-alikes, where possible an existing browser window is re-used: the macOS GUI uses its own browser window.)
(在类似Unix的系统上,可能的话,将重新使用现有的浏览器窗口:macOS GUI使用其自己的浏览器窗口。)

If for some reason HTML help is unavailable (see startDynamicHelp), plain text help will be used instead.
如果由于某些原因HTML帮助不可用(请参阅startDynamicHelp
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-21 00:34 , Processed in 0.023769 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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