Questions tagged [uioutput]

UIOutput is a java "User Interface" component (UIComponent), for display purpose only.

UIOutput is part of . It is retrieved via bean and displayed to the user. The user cannot directly modify the value;

Refer to JavaDoc for more

25 questions
3
votes
1 answer

uiOutput rendered based on input, resets when button is clicked, and then can't be updated again when the input is updated

I have a shiny app with a mix of inputs, and uiOutputs that summarize what the user has input. I have a button that resets all the input values and clears the uiOutputs, but once the uiOutputs are cleared, they no longer update based on the…
tamarack
  • 377
  • 1
  • 11
3
votes
2 answers

Inline uiOutput in R Shiny

I am trying to generate a sequence depending on the selectInputs by users. The problem now is that layout of the sequence is vertical. My question is how to align them horizontally or inline. I tried to set uiOutput as inline=TRUE, but it did not…
Jian
  • 365
  • 1
  • 6
  • 19
3
votes
1 answer

How to observe dynamically rendered ui

So, you solve one problem and run into the next. I've now succesfully build a part of code that dynamically creates uiOutput, i.e. a number of sliders, buttons and/or textfields and the amount of them depends on a value that comes rolling out of my…
Mark
  • 2,789
  • 1
  • 26
  • 66
2
votes
1 answer

ShinyApp: Use a selected input to subset some levels of a categorical variable,and use that as input for plotting in the server

I'm trying to plot a continous variable (y) versus another one (x), and color the data points in the plot depending on a third categorical variable (z). To select these three variables I use a selectInput function, but to select the possible…
Lorena R
  • 33
  • 6
2
votes
1 answer

One reactive function to be displayed on two different pages interactively

I have an application which has 3 tabItems. I want to use a slider on second page to display same result on 3rd page interactively, i.e. if 2nd page slider changes then 3rd page slider should also change respectively. I have a reactive function on…
FalwariyaP
  • 35
  • 4
1
vote
0 answers

Dynamic checkboxGroupInput In R Shiny

I am trying to create 2 checkbox input group based on the user input, so that I can run a logic to plot it against each other. Now Ideally IF the user selects 2 options in group 1 it shouldn't appear in group 2 of the checkboxgroup. How do I…
Rohan
  • 11
  • 1
1
vote
1 answer

R Shiny - uiOutput causes numericInput to deselect when user is still typing in

I'm trying to create a data collection tool on R Shiny where the user can select as many categories as apply to them and then enter values for each. I've used uiOutput to allow the user to add a new category choice after clicking an action…
Izzy
  • 13
  • 2
1
vote
1 answer

Formatting colour of dynamic text generated from renderUI in Shiny

I wish to colour the dynamically generated text that comes from renderUI. A minimal extract of my code is here: library(shiny) library(Ryacas) library(Ryacas0) library(mathjaxr) # for rendering Latex expressions in Shiny # Define UI for application…
Nevil
  • 161
  • 1
  • 11
1
vote
1 answer

How can I use the same inputId in multiple uiOutputs in R Shiny?

I am writing an app that will be used to enter data from paper forms into an SQL database. The data are from wildlife capture records, and will go into a single table, so the different forms share a lot of the same fields (e.g. weight, age, species,…
tamarack
  • 377
  • 1
  • 11
1
vote
0 answers

How to render default plot in R shiny

I have the below sample code from an application to genarate a plot and render to UI. library(shiny) ui <- fluidPage( selectInput("choice", "Choose", choices = names(mtcars)), actionButton("run", "Run"), plotOutput("some_ui") ) server <-…
chas
  • 1,565
  • 5
  • 26
  • 54
1
vote
2 answers

R Shiny: Switch between table and plot in renderUI

I am trying to let the user select the kind of display he wishes, but when I try to render the plot it gives me an error. Here is the code: library(shiny) library(DT) library(data.table) runApp(list( ui = fluidPage( wellPanel( …
Go.0
  • 35
  • 7
1
vote
0 answers

How to render two uiOutput in order not synchronistically in Shiny?

when input$variable change uiOutput(1) and uiOutput(2) are rendered at the same time? Is there any way render step by step not synchronistically? The following is the steps I want. 1) input variable change 2) uiOutput(1) rendering 3) uiOutput(2)…
ash
  • 33
  • 1
  • 6
1
vote
1 answer

renderUI does not work with fillPage

I have the following simple working shiny app: if (interactive()) { ui <- fillPage( fillRow( fillCol(".", style = "background-color: red;", height = "10%"), fillCol(".", style = "background-color: blue;", height =…
1
vote
1 answer

withMathJax format lost after reactive input changed

Example Code: ui <- fluidPage( withMathJax(), tags$div(HTML("