简体   繁体   中英

tcltk2 and external Shiny server

I'm creating a Shiny web application and I need to be able to produce some messageboxes and listboxes. I've used the solutions from tcltk2 and produced a listbox like in the example here: http://www.sciviews.org/recipes/tcltk/TclTk-listboxes/

This works fine whenever I deploy the app locally on my computer. However, when I try to run it on an external Ubuntu server (not Rstudios Server solution) I receive an error message that the app unexpectedly closed. The JavaScript console doesn't provide much info:

 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}

I'm not sure what this means and I'm hoping for some guidance.

I think shinyBS can help you

see

#install.packages("shinyBS") if not instaled
library(shinyBS)
bsExample("Modals")

It s simular with new tab but shows like pop-up and a bit easy to use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM