简单来说,我有一个Shiny应用程序,用户可以在其中选择数据集中值的各种组合并生成图形。但是,对于其中某些组合,没有数据,Shiny会生成错误消息:
Error: 'from' must be length 1
如何用更多信息替换该错误消息,例如:
Sorry, there is no data for you requested combination. Please change your input selections
谢谢。
r shiny
r ×1
shiny ×1