How to render outputs of few elements(graphs) in shiny app?

0 votes
How to render outputs of few elements(graphs) from all elements present in the app?

In simple words, I want to see output change for only 2 charts out of 4 charts.

How to specify charts with and without change of output?
Aug 29 in Data Analytics by racheal
7 views

1 answer to this question.

0 votes

hi Racheal,

You can isolate those outputs which not be rendered using isolate function.

To make the output rendered on some condition use observeEvent() and isolate() functions.

library(shiny)
ui <- fluidPage(
textInput("a","","A"),
actionButton("b")
)
server <-
function(input,output){
output$b <-
renderText({ isolate({ input$a }) })
shinyApp(ui, server)

Or use observeEvent(input$variable, { use condition and use isolate output here } )

answered Aug 30 by anonymous
• 25,840 points

Related Questions In Data Analytics

0 votes
0 answers

How to set choices of inputs within server function in shiny app?

How to set choices of inputs within ...READ MORE

Aug 29 in Data Analytics by kajal
8 views
0 votes
1 answer

How to reduce the height of valueBox in shiny R?

Add this line before using your vlaueBoxes tags$head(tags$style(HTML(".small-box ...READ MORE

answered Dec 4, 2018 in Data Analytics by Haseeb
361 views
0 votes
0 answers

How to set the width of navlistPanel in Shiny? - R

How to set the width of navlistPanel ...READ MORE

Jul 18 in Data Analytics by ramya
61 views
0 votes
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,040 points
392 views
0 votes
1 answer

Error saying "could not find function dashboardPage" in shiny R

Include this line in the code: Library(shinydashboard) READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,040 points
223 views
0 votes
2 answers

How to count the number of elements with the values in a vector?

Use dplyr function group_by(). > n = as.data.frame(num) > ...READ MORE

answered Aug 21 in Data Analytics by anonymous
• 25,840 points
95 views
0 votes
1 answer

How to include css code in shiny r app?

To include a CSS file, use includeCSS(), ...READ MORE

answered Aug 30 in Data Analytics by anonymous
• 25,840 points
16 views