如果我在命令行下运行R脚本(实际上是通过在VBA中调用运行它),如何将任何错误/警告消息输出到txt文件?
error-handling command-line r
command-line ×1
error-handling ×1
r ×1