[英]R, Shiny, custom error messages
When there is an error in R, there is usually a red error message shown in the dashboard. 当R中存在错误时,仪表板上通常会显示红色错误消息。
Is there a way to define custom error messages and trigger errors in the server code? 有没有一种方法可以定义自定义错误消息并触发服务器代码中的错误?
R CMD BATCH "yourRcode.R" >> logfile.log
这样,您就可以从进程中获取一个名为“ logfile.log”的日志文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.