Shiny Apps in LabKey bill c white  2015-12-07 10:15
Status: Closed
 
I have been asked by colleagues if Shiny can be used to develop LabKey applications. Is this recommended or discouraged or considered. Thanks.
 
 
Matthew Bellew responded:  2015-12-07 11:21
We do not directly support shiny. It's been a while since I looked at this, but I believe the tricky part was tunneling the websocket communications between the browser and R through the LabKey server. You can sort of fake this up if you don't care too much about security...

This would be a very cool open source contribution if anyone gets inspired...

Matt
 
bill c white responded:  2015-12-07 11:31
Thanks for the quick response! I suspected as much with Shiny running as a server and LabKey running under a Tomcat server. I have developed a few Shiny apps, and I really like the way it insulates the developer from all the MVC by providing a fill-in-the-blanks framework, at least through RStudio/devtools. I have suggested to our new developer that she start with simple R reports in views (nice tutorials on the LabKey site) and work her way up to full-blown "apps"/modules with GUI controls in LabKey and eventually ImmuneSpace.