R语言加载或保存或显示命令历史记录loadhistory()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:loadhistory()
R语言函数功能:加载或保存或显示命令历史记录
来自资源库:基础库(R语言自带)
loadhistory()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
Load or save or display the commands history.
加载或保存或显示命令历史记录。
使用方法-----Usage-----
loadhistory(file = ".Rhistory")
savehistory(file = ".Rhistory")
history(max.show = 25, reverse = FALSE, pattern, ...)
timestamp(stamp = date(),
prefix = "##------ ", suffix = " ------##",------ ", suffix = " ------##",
------“,后缀=” ------ ##“,
quiet = FALSE)
参数-----Arguments-----
参数file介绍: The name of the file in which to save the history, or from which to load it. The path is relative to the current working directory.
保存历史记录或从中加载历史记录的文件名。该路径是相对于当前工作目录的。
参数max.show介绍: The maximum number of lines to show. Inf will give all of the currently available history.
要显示的最大行数。 Inf将提供所有当前可用的历史记录。
参数reverse介绍: logical. If true, the lines are shown in reverse order. Note: this is not useful when there are continuation lines.
符合逻辑如果为true,则以相反的顺序显示这些行。注意:当有连续行时,这没有用。
参数pattern介绍: A character string to be matched against the lines of the history. When supplied, only unique matching lines are shown.
要与历史记录的行匹配的字符串。提供后,仅显示unique匹配行。
参数...介绍: Arguments to be passed to grep when doing the matching.
进行匹配时要传递
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
|