shinyapps

Display the selected choice of a dynamically generated 'selectizeInput' widget based on the selected choice of previous widget

夙愿已清 提交于 2019-12-02 08:50:32
问题 I am trying to build a Shiny app that generates rows with multiple selectInput or selectizeInput widgets when a user presses the "+" button, and that removes such rows when he presses the "-" button. The image below show what I have achieved since now: How my shiny app looks right now: https://imgur.com/uQfdJrv My problem is that I can't find a way to show the widgets in the new row with the same selected values of the widget in the previous row. In fact, the user may want to change just

How to display data in MainPanel based on user selection in Shiny R?

北慕城南 提交于 2019-12-02 08:34:51
My dataframe looks like below, and I would like to build ShinyApp such that when user selects System from SidebarPanel only info. related to selected system gets displayed in mainpanel . Currently, below app displays entire datatable in mainpanel. I am new to shiny and I not sure how to hide datatable in mainpanel . Is there any functionality available in Shiny ? Provide explanation with code DataFrame > df <- data.frame("Users" =c('A',"B","A",'C','B'), "Date" = c('17 Mar 2019','15 Mar 2019','11 Mar 2019','20 Apr 2019',"21 Apr 2019"), "Systems" = c("Sys1", "Sys1","Sys2","Sys3","Sys4"),

Display the selected choice of a dynamically generated 'selectizeInput' widget based on the selected choice of previous widget

人盡茶涼 提交于 2019-12-02 04:29:40
I am trying to build a Shiny app that generates rows with multiple selectInput or selectizeInput widgets when a user presses the "+" button, and that removes such rows when he presses the "-" button. The image below show what I have achieved since now: How my shiny app looks right now: https://imgur.com/uQfdJrv My problem is that I can't find a way to show the widgets in the new row with the same selected values of the widget in the previous row. In fact, the user may want to change just values of some inputs and don't touch the values of the others. Referring to the image above, let's suppose

Deploying a Shiny app using a self-written package

别来无恙 提交于 2019-12-02 00:56:53
问题 I have a working shiny app which uses library(coral), where coral is a package I wrote myself, installed in the directory of the shiny app. When I attempt to deploy my app onto shinyapps.io, I receive the following message: Error: Unable to retrieve package records for the following packages: - "coral" Execution halted From what I can gather online, the issue is probably that coral is not on CRAN, so shinyapps.io cannot get the records for that package from there. Is that a correct

Deploy shiny app on shinyapp.io with package in private organization repo

房东的猫 提交于 2019-12-01 10:27:55
I'm trying to deploy a shiny app to the shinyapps.io server, but keep getting an error relating to a custom-built package that is hosted in a private github repo owned by our organization (note that I have replaced the actual name of the package, company name, and private repo name in the error below): error: Building package: [PACKAGE NAME] ################################ Begin Task Log ################################ ################################# End Task Log ################################# Error: Unhandled Exception: Child Task 530176316 failed: Error building image: Error fetching

Deploy shiny app on shinyapp.io with package in private organization repo

白昼怎懂夜的黑 提交于 2019-12-01 08:25:30
问题 I'm trying to deploy a shiny app to the shinyapps.io server, but keep getting an error relating to a custom-built package that is hosted in a private github repo owned by our organization (note that I have replaced the actual name of the package, company name, and private repo name in the error below): error: Building package: [PACKAGE NAME] ################################ Begin Task Log ################################ ################################# End Task Log #########################

Using similar UI script in R shiny under multiple subMenuItems

江枫思渺然 提交于 2019-11-29 17:40:06
the given R shiny script creates a dropdown menu in the sidebar with main and sub menu items. When you click on the first sub-item 1, you get two selectInputs in the dashboardBody. I want a functionality where I just declare these inputs once and use it multiple times in the other sub-items, just like how reactive function does.I want to do this to make the script fast and efficient. I have less knowledge of reactive functionality, please help and thanks. library(shiny) library(shinydashboard) ui <- dashboardPage( dashboardHeader(), dashboardSidebar( sidebarMenu( id = "tabs", menuItem("Charts"

Usage of UIOutput in multiple menuItems in R shiny dashboard

混江龙づ霸主 提交于 2019-11-28 14:30:34
The R shiny script below displays "output$brand_selector" output in subItem1. I wish to display the same output in subItem2 and subItem3. Please help, also when I open the dashboard, the output is present by default, I wish to make it appear only when I click on a subItem, thanks and please help. candyData <- read.table( text = " Brand Candy value Nestle 100Grand Choc1 Netle Butterfinger Choc2 Nestle Crunch Choc2 Hershey's KitKat Choc4 Hershey's Reeses Choc3 Hershey's Mounds Choc2 Mars Snickers Choc5 Nestle 100Grand Choc3 Nestle Crunch Choc4 Hershey's KitKat Choc5 Hershey's Reeses Choc2

Display the selectInput value in a R shiny widget box

﹥>﹥吖頭↗ 提交于 2019-11-28 13:03:37
问题 Please run the R shiny script below, I wish to display the selectInput value in the third selectInput option in the infoBox widget and replicate the same functionality for all the tabs below. Currently it is hard coded, the script has been written using shiny modules, so kindly check. Attaching the snapshot for reference, please help. candyData <- read.table( text = " Brand Candy value Nestle 100Grand Choc1 Netle Butterfinger Choc2 Nestle Crunch Choc2 Hershey's KitKat Choc4 Hershey's Reeses

Using similar UI script in R shiny under multiple subMenuItems

我怕爱的太早我们不能终老 提交于 2019-11-28 12:48:24
问题 the given R shiny script creates a dropdown menu in the sidebar with main and sub menu items. When you click on the first sub-item 1, you get two selectInputs in the dashboardBody. I want a functionality where I just declare these inputs once and use it multiple times in the other sub-items, just like how reactive function does.I want to do this to make the script fast and efficient. I have less knowledge of reactive functionality, please help and thanks. library(shiny) library(shinydashboard