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

R语言中文网

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

R语言加载或保存或显示命令历史记录loadhistory()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:06:32 | 显示全部楼层 |阅读模式
        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%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-21 04:18 , Processed in 0.033468 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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