【发布时间】:2014-05-11 00:31:33
【问题描述】:
在 Windows 7 上运行
rterm < foo.r > temp.txt
输出文件以:
开头R version 3.0.1 (2013-05-16) -- "Good Sport"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
和更多的文字。
如何隐藏此消息?我在 Rprofile.site 文件中没有看到执行此操作的选项。当然我可以用别的程序删除输出文件的前N行,但是抑制启动信息更优雅?
【问题讨论】:
-
我通常会为 Rgui 创建一个快捷方式,然后在右键单击/属性时将这个 `-q` 放在 Target 字段的末尾。
标签: r