禁用保存历史 [英] Disable saving history
本文介绍了禁用保存历史的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
默认情况下是否可以禁用在R中保存命令历史记录/会话?我真的很讨厌那些.RData和.RHistory文件!
Is it possible to disable saving command history / session in R by default ? I really hate those .RData and .RHistory files !!
推荐答案
只需使用--no-save
启动R.请参阅R --help
.
Just start up R with --no-save
. See R --help
.
将其添加到快捷方式中(例如,在Windows中,当您右键单击快捷方式并选择属性时,此名称位于目标"下).
Add this to your shortcuts (in Windows for example this is under "Target" when you right-click on the shortcut and choose properties).
这篇关于禁用保存历史的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文