shiny-server

Shiny Server custom Handlebars.js templates

故事扮演 提交于 2020-12-31 04:37:58
问题 I'm not at all familiar with handlebars.js but I'd like to customize the directory index template that comes with Shiny Server. Specifically, what I'm looking to do is render a page of thumbnails of the different apps. The file /opt/shiny-server/templates/directorIndex.html comes with the code below which reference a number of expressions including {{title}}, references to apps, dirs and files. <!DOCTYPE html> <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{{title}}<

How to get the current URL for Shiny App?

别来无恙 提交于 2020-12-15 04:33:00
问题 When I run a shiny application on RStudio, my app runs and the URL looks like this: Listening on http://127.0.0.1:4991 But each time I run again the app, the port changes, I wonder if there is a way to obtain the url as a variable or something like that. I mean, each time that I run the app, I want to obtain the URL and save it in a variable. Thank you 回答1: You can specify the port using options: #example: https://shiny.rstudio.com/articles/basics.html options(shiny.host = '0.0.0.0') options

How to get the current URL for Shiny App?

感情迁移 提交于 2020-12-15 04:32:19
问题 When I run a shiny application on RStudio, my app runs and the URL looks like this: Listening on http://127.0.0.1:4991 But each time I run again the app, the port changes, I wonder if there is a way to obtain the url as a variable or something like that. I mean, each time that I run the app, I want to obtain the URL and save it in a variable. Thank you 回答1: You can specify the port using options: #example: https://shiny.rstudio.com/articles/basics.html options(shiny.host = '0.0.0.0') options

How to securely integrate EC2 hosted Shiny app into asp.net project

这一生的挚爱 提交于 2020-12-05 06:35:05
问题 I have two applications. R Shiny app hosted on EC2 Asp.net application hosted on Azure. The asp.net app preforms user authentication and is used to organize a whole data science pipeline. A user provides data, the data scientist transforms the data and delivers a shiny app. Finally, the user opens the Shiny app within the asp.net application. The problem I have is that I don't know how to integrate the Shiny app that I have developed within the asp.net application securely. I could solve the

How to securely integrate EC2 hosted Shiny app into asp.net project

冷暖自知 提交于 2020-12-05 06:32:20
问题 I have two applications. R Shiny app hosted on EC2 Asp.net application hosted on Azure. The asp.net app preforms user authentication and is used to organize a whole data science pipeline. A user provides data, the data scientist transforms the data and delivers a shiny app. Finally, the user opens the Shiny app within the asp.net application. The problem I have is that I don't know how to integrate the Shiny app that I have developed within the asp.net application securely. I could solve the

How to hide or display charts in shiny dashboardBody based on radioGroupButton selection

安稳与你 提交于 2020-08-08 04:06:13
问题 I am trying to create this dashboard with following structure. It basic structure has 3 levels (Menu, sub Menu and radioGroupButton selection) SideBar: Menu1: has 2 sub menus (Sub Menu 1 and Sub Menu2) Menu2 has 2 sub menus (Sub Menu 3 and Sub Menu4) The body has radioGroupButton that has 2 choices dashBoardBody: RadioGroupButton: Choice 1 and Choice 2 So when the user clicks Sub Menu1 and clicks Choice 1 then I need to display #A1 Sub Menu1 and clicks Choice 2 then I need to display #A2 Sub

How to hide or display charts in shiny dashboardBody based on radioGroupButton selection

孤街浪徒 提交于 2020-08-08 04:06:11
问题 I am trying to create this dashboard with following structure. It basic structure has 3 levels (Menu, sub Menu and radioGroupButton selection) SideBar: Menu1: has 2 sub menus (Sub Menu 1 and Sub Menu2) Menu2 has 2 sub menus (Sub Menu 3 and Sub Menu4) The body has radioGroupButton that has 2 choices dashBoardBody: RadioGroupButton: Choice 1 and Choice 2 So when the user clicks Sub Menu1 and clicks Choice 1 then I need to display #A1 Sub Menu1 and clicks Choice 2 then I need to display #A2 Sub