shinydashboard

focusing the cursor in textArea after clicking an action button in shiny

本小妞迷上赌 提交于 2020-08-27 06:55:05
问题 I am not an expert in html or JavaScript by any means. So, I hope for you assistance with this issue. I thought I should provide a smaller version of my app in order to be able to explain the problem. Here is the app.R of a simple app that allows the user to write, let's say a word, in the textArea. The first letter of the word will appear automatically as the label of the action button, if the user clicks on the action button, the contents of the textArea will be updated stating whether 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

How to correctly output Plotly plots in shiny?

百般思念 提交于 2020-08-06 00:54:17
问题 I am trying to make a shiny app based on New York crime historical data. I am using single shiny page approach. Here's the data: https://data.world/data-society/nyc-crime-data For some reason when I select the year to output the crime statistics, my output gets outputted only in the Viewer of RStudio and not on the main panel of the Shiny popup. Here's the complete code: # Shiny App exploring New York City Crime Data between 2006-2016 # Data Source: https://data.world/data-society/nyc-crime

How to combine top navigation (navbarPage) and a sidebar menu (sidebarMenu) in shiny

橙三吉。 提交于 2020-08-01 06:26:30
问题 I have a shiny app (using navbarPage) with many tabs and would like to add a sidebarMenu that can be seen no matter which tab is selected. The input values in the sidebar have an impact on the content of all tabs. Additionally, it should be possible to hide the sidebarMenu as it is in a shinydashboard. I see two possible ways: (A) Using shinydashboard and somehow adding a top navigation bar or (B) using navbarPage and somehow adding a sidebar menu that can be hidden. (A) Using shinydashboard

How to combine top navigation (navbarPage) and a sidebar menu (sidebarMenu) in shiny

﹥>﹥吖頭↗ 提交于 2020-08-01 06:25:27
问题 I have a shiny app (using navbarPage) with many tabs and would like to add a sidebarMenu that can be seen no matter which tab is selected. The input values in the sidebar have an impact on the content of all tabs. Additionally, it should be possible to hide the sidebarMenu as it is in a shinydashboard. I see two possible ways: (A) Using shinydashboard and somehow adding a top navigation bar or (B) using navbarPage and somehow adding a sidebar menu that can be hidden. (A) Using shinydashboard