You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to do this? My containers pre-initialise fine but I can see that they only start to compile once launched by a user. The files take a long time to compile (it uses Shiny and I've looked into shiny_prerendered but it's incompatible with some components I'm using), so it'd be nice to have them compile as part of the pre-initialisation and when a user starts to use the container it's already ready to go.
The text was updated successfully, but these errors were encountered:
Working through this I've realized it's probably way out of scope of ShinyProxy. I was able to manage a solution using CRIU and forking of R Markdown, Shiny, and Flexdashboard which was of course very hacky. It works outside of ShinyProxy through reverse SSH tunneling, as one normally does to access a remote Shiny instance without completely opening the ports.
But this solution hasn't been working with ShinyProxy. I can get the HTML and CSS loading but the Shiny elements fail to return. I suspect this has something to do with changing environment variables whenever ShinyProxy launches a new container.
I realize this is no longer a proper issue at this point and can probably be closed, but if anyone has insight on how to get ShinyProxy to produce instances with identical environment variables that would be helpful. Although this seems to defeat the purpose of ShinyProxy somewhat, I can see it working with user login, so I can prespec the environment for each user in the application.yml or something.
Is it possible to do this? My containers pre-initialise fine but I can see that they only start to compile once launched by a user. The files take a long time to compile (it uses Shiny and I've looked into shiny_prerendered but it's incompatible with some components I'm using), so it'd be nice to have them compile as part of the pre-initialisation and when a user starts to use the container it's already ready to go.
The text was updated successfully, but these errors were encountered: