Questions tagged [renderui]
33 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
1 answer
In R shiny, why am I getting an error message after making simple adaptation to renderUI?
When running the below "MWE code using renderUI", in R studio console I get the message "Error in :: argument of length 0" though the App keeps working correctly. This MWE reflects a simple adaptation from the below "MWE code this was adapted from…

Curious Jorge - user9788072
- 2,548
- 1
- 9
- 22
2
votes
1 answer
Working with shiny's selectizeInput and updateSelectizeInput inside renderUI
My basic shiny app example has a data.frame of 20,000 genes, each with an effect and p.value numerical values:
set.seed(1)
df <- data.frame(gene = paste0("g",1:20000), effect = rnorm(20000), p.value = runif(20000,1,0), stringsAsFactors = F)
And my…

dan
- 6,048
- 10
- 57
- 125
2
votes
1 answer
How to use an input created in renderUI into a reactive function in R Shiny?
I created several two inputs in the UI: "slider0" and "slider1" and one in the server using renderUI "slider2".
I am trying to use calculate a new column of a data-frame based on a conditional statement on slider0 and the values of slider1 and…

armine
- 111
- 7
2
votes
1 answer
Insert UI by a bsbutton in R shiny. The UI would not insert when the button is clicked. Any help please?
I am trying to create an interactive UI, which asks for more details as the user interacts with it.
I have added a bsButton, which is supposed to insert more input options to collect more details, but the button is not inserting the UI when it is…

Ali Osaid
- 23
- 2
1
vote
1 answer
My renderUI not working within Shiny module
I have a uiOutput that is dependent on what option the user selects but this does not display when I run the app.
Please see an extract of the app below.
text_analytics_UI <- function(id, label = "Name") {
ns <- NS(id)
tagList(
…

Oyeleke
- 13
- 2
1
vote
2 answers
Flutter: My notifyListeners() doesn't work, but only in the release apk
I have a page that shows a loading while making my API call, and once the call is done it shows the received data.
On debugger everything works correctly, but when I create the apk with 'flutter build apk', and download it, the loading remains…

Alessio Bortolotti
- 11
- 3
1
vote
1 answer
Problem with selectInput Inside a renderUI command. when I select a choice, the code runs normally but then it gives me again the original choices
Hi I would appreciate your help.
I have the attached code. I import an excel data file and read the data. I have a renderUi command which by selectInput, reads the names of the inserted table and plots the relative columns of the data table.
When I…

Antony
- 11
- 1
1
vote
1 answer
selectInput update inside renderUI function in shiny app
I have simplified my shiny app as follow:
library(shiny)
library(shinythemes)
library(shinyBS)
ui <- fluidPage(
theme = shinytheme("flatly"),
navbarPage("Demo",
tabPanel("Home",
column(2,
…

Haribo
- 2,071
- 17
- 37
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
shiny doesn't work after, containing javascript
I have a problem with this application, containing a javascript file for the user-interface part, which enables more tabs. However, the server part doesn't work when we have included the javascript file. I have a simple reactivity regarding the…

EnriqueGG
- 179
- 1
- 12
1
vote
2 answers
How to add tabulation to a line using htmlOutput()?
I want to add one tabulation to a line in Shiny but I don't find the way to do it.
I know that there are HTML tags in Shiny such as strong to put words in bold, small to make them smaller... Even blockquote to add blocks of quotes.
But I didn't…

emr2
- 1,436
- 7
- 23
1
vote
2 answers
Is there a way to make a wrapper function for renderUI in Shiny (R)?
I need to use renderUI to create multiple input options based on another input value. I want to wrap everything inside renderUI as a function so I can apply this to many similar inputs. Here is a simplified example (which is working for me, but I…

coffee
- 85
- 7
1
vote
1 answer
Difference between conditionalPanel and uiOutput/req patterns
Consider the below sample application demonstrating two ways to show UI based on a condition:
library(shiny)
ui <- fluidPage(
tagList(
checkboxInput("toggle", "Toggle"),
conditionalPanel(
condition = "output.condition",
…

Lance Upton
- 147
- 1
- 12
1
vote
1 answer
use renderUI to change the order of inputs on page
I have a data entry form that users will use to enter wildlife capture data from paper data sheets. The paper sheets have many of the same fields (age, weight, sex, for example), but not all the same (for example, some have chest_girth, and others…

tamarack
- 377
- 1
- 11