Closed olyerickson closed 7 years ago
Ok, interesting.
find_title
to find the source of the problem.I've confirmed that it is a similar problem with other shiny
gadgets, including this demo:
https://shiny.rstudio.com/articles/gadgets.html
This makes sense, since to work the gadgets would need to be hosted on whatever server RStudio Server is running on, not the user's local machine (which shiny
is expecting)
I'll investigate and report back ;)
Ok, seems we are on the right track then...
I've now tested several other Shiny Gadget examples with RStudio Server; basically, the Shiny model doesn't work there. The problem is that Siny wants to listen on http://127.0.0.1:6976
but that can't happen in the RStudio Server environment.
I'm now doing a bit of background research to see what UI models work for Addins that are expected to run on RStudio Server, esp. whether people somehow make Shiny Gadgets work...
The miniUI
developers tell me that Shiny Gadgets should "just work" under RStudio Server, although their standard demos don't. This might be a problem with our installation (ie configuration); I'll let you know...
It's definitely a problem with our RStudio Server installation; Shiny Gadget examples tested on other RStudio Server deployments are working.
Sorry to have bothered you with this! On to more interesting issues ;)
Never mind. So shall we close the issue then?
(These comments apply to the
semantics
branch)After installing in RStudio Server (instead of local RStudio) the interface appears, but is grayed out. The user is able to type a section label name, but clicking on "Add Semantics" doesn't bring up the new fields for entry.
All of this does work on normal RStudio.