selectinput

Expand/Collapse Shiny selectInput function

我的梦境 提交于 2021-02-16 09:01:52
问题 I would like to find a resource that would allow my Shiny selectInput function to expand/collapse based on the category headings that I have created. I have searched through some bootstrap resources, but am not yet successful. Please forgive my minimal working example, I acknowledge that there may be more efficient ways to provide a MWE. Thanks for any advice you can offer. library(shiny) library(tidyverse) #create a quick dataset to plot schools <- as.data.frame(table( c('Adams', 'Van Buren'

Expand/Collapse Shiny selectInput function

那年仲夏 提交于 2021-02-16 08:59:45
问题 I would like to find a resource that would allow my Shiny selectInput function to expand/collapse based on the category headings that I have created. I have searched through some bootstrap resources, but am not yet successful. Please forgive my minimal working example, I acknowledge that there may be more efficient ways to provide a MWE. Thanks for any advice you can offer. library(shiny) library(tidyverse) #create a quick dataset to plot schools <- as.data.frame(table( c('Adams', 'Van Buren'

Error: non-numeric argument to binary operator

 ̄綄美尐妖づ 提交于 2021-02-10 14:08:42
问题 Good Day, making application in RStudio/Shiny is very new to me and I am working with a project in which an external file is to be used as the input data. Here is my CSV: my supposed to be app: So the user insert a csv with appliance name in row 1 and their wattage in row 2 just like in the picture above, then the selectInput will be updated. The user choose what appliance and hours of usage then it will be calculated for its cost Here is my server code: server <- function(input,output

How to save edits made in DT while using SelectInput in correct position

帅比萌擦擦* 提交于 2021-01-04 08:10:11
问题 When using editable DataTable (package DT) where input is chosen by SelectInput the edits made isn't saved where it should be. Choosing a specific variable shows for example rows 50-60 from datatable in first rows. Editing them saves the edits on the first rows instead of in rows 50-60. In example below you can choose variable versicolor and delete setosa. Then edit Petal.Length to random number. Edit should be saved in row 51 but instead it is saved in row 1. I am thinking about a workaround

R Shiny - What is the problem with my observe function ({UpdateSelectInput})?

|▌冷眼眸甩不掉的悲伤 提交于 2020-12-15 07:16:32
问题 I've looked on similar posts for my problem, but nothing is helping and I'm running out of patience. I have a very simple app, where I'm trying to find all counties within a selected US state. I'm using SelectInput in the UI for users to select what state they want, and an UpdateSelectInput in the server so users can select what county they want from their state selection. This is what my simplified data looks like: **STATE_NAME NAMELSAD** Alabama Clay County Alabama Marengo County Arkansas

In Shiny, avoid overlap of selectInput dropdown with action button underneath it

夙愿已清 提交于 2020-07-23 09:03:41
问题 This seems like a very simple question, but I have searched and searched! I am using selectize to select multiple items from a list in a selectInput dropdown menu. Below it I have a Submit button to perform some action on the list. As you add multiple entries, the selectInput box grows, and the button dynamically moves down the sidebar, but when you open the dropdown menu to see the list of options, the Submit button is hidden. I would like the button to dynamically jump down and stay visible

In Shiny, avoid overlap of selectInput dropdown with action button underneath it

Deadly 提交于 2020-07-23 09:01:38
问题 This seems like a very simple question, but I have searched and searched! I am using selectize to select multiple items from a list in a selectInput dropdown menu. Below it I have a Submit button to perform some action on the list. As you add multiple entries, the selectInput box grows, and the button dynamically moves down the sidebar, but when you open the dropdown menu to see the list of options, the Submit button is hidden. I would like the button to dynamically jump down and stay visible

In Shiny, avoid overlap of selectInput dropdown with action button underneath it

独自空忆成欢 提交于 2020-07-23 09:00:40
问题 This seems like a very simple question, but I have searched and searched! I am using selectize to select multiple items from a list in a selectInput dropdown menu. Below it I have a Submit button to perform some action on the list. As you add multiple entries, the selectInput box grows, and the button dynamically moves down the sidebar, but when you open the dropdown menu to see the list of options, the Submit button is hidden. I would like the button to dynamically jump down and stay visible

Link selectInput with sliderInput in shiny

戏子无情 提交于 2020-05-04 05:32:46
问题 Friends, I would like my selectInput to be linked to the number of clusters that appear in my output table. In other words, it appears divided into 5 clusters. In selectInput I would like it to show as follows: Select the cluster 1 2 3 4 5 That is, my selectinput will depend on my sliderInput. How can I do this? My executable code is below: library(shiny) library(ggplot2) library(rdist) library(geosphere) library(kableExtra) library(readxl) library(tidyverse) library(DT) #database df<

Link selectInput with sliderInput in shiny

こ雲淡風輕ζ 提交于 2020-05-04 05:29:40
问题 Friends, I would like my selectInput to be linked to the number of clusters that appear in my output table. In other words, it appears divided into 5 clusters. In selectInput I would like it to show as follows: Select the cluster 1 2 3 4 5 That is, my selectinput will depend on my sliderInput. How can I do this? My executable code is below: library(shiny) library(ggplot2) library(rdist) library(geosphere) library(kableExtra) library(readxl) library(tidyverse) library(DT) #database df<