user51462

1

votes
0

answer
44

views

R Shiny - Vertically aligning inline elements (fileInput and actionButton)

The app below contains a fileInput and actionButton. I would like to vertically align the two elements so that the actionButton lines up with the Browse button of the fileInput. In addition to the code included below, I also tried display:flex and align-items:center; as well as fluidRow(column(width...
user51462
1

votes
1

answer
40

views

Converting a nested (3-level) list to a long/tall format data frame

I have a nested list with 3 levels: m = list(try1 = list(list(court = c('jack', 'queen', 'king'), suit = list(diamonds = 2, clubs = 5)), list(court = c('jack', 'queen', 'king'), suit = list(diamonds = 45, clubs = 67))), try2 = list(list(court = c('jack', 'queen', 'king'), suit = list(diamonds = 40...
user51462
1

votes
1

answer
30

views

R Shiny - How to display feedback message if two inputs have the same value (using shinyFeedback)

I have two selectizeInputs (state1 and state2) in my app that have the same set of choices. When the user clicks the actionButton, I would like to compare the values of state1 and state2 and display a feedback message to the user if they are the same. Both selectizeInputs are initialised with the p...
user51462
0

votes
1

answer
18

views

R Shiny - Removing UI using jQuery and onclick event handler

The app below contains an actionButton Add box that creates a box when clicked. Each box has a AdminLTE data-widget = 'remove' attribute, so each box has a remove button that is placed in the box-tools div in the box-header. At the moment, clicking the remove button for a box only hides the box rat...
user51462