我正在创建一个闪亮的web应用程序,我需要能够产生一些消息盒和列表框。我使用了tcltk2的解决方案,并生成了一个列表框,如下面的示例:http://www.sciviews.org/recipes/tcltk/TclTk-listboxes/
每当我在我的电脑上本地部署应用程序时,这个程序就能正常工作。但是,当我试图在外部Ubuntu服务器上运行它(而不是Rstudios解决方案)时,我会收到一条错误消息,该应用程序意外关闭。JavaScript控制台提供的信息不多:
Warning: Unhandled error in observer: [tcl] invalid command name "font".
observeEvent(input$saveReport)
shiny-server.js:238 Tue Mar 22 2016 08:46:42 GMT+0100 (Rom, normaltid):
Connection closed. Info: {"type":"close","code":1000,"reason":"Normal
closure","wasClean":true}我不知道这意味着什么,我希望得到一些指导。
发布于 2016-03-22 09:12:04
我觉得shinyBS可以帮你
看见
#install.packages("shinyBS") if not instaled
library(shinyBS)
bsExample("Modals")这是模拟与新的选项卡,但显示,如弹出,有点容易使用。
https://stackoverflow.com/questions/36148798
复制相似问题