Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
0 votes
1 answer
133 views

I want to enable a Save button when a control is edited by the user, but not when its state is loaded by update.... I know of js functions shiny:updateinput and shiny:inputchanged: the latter fires on ...
Dieter Menne's user avatar
  • 10.3k
0 votes
1 answer
209 views

I know the question is a bit silly but hey it's worth it. Usually, when exporting files with datatables in R and Shiny it's quite easy but today I would like to be able to export all the content of a ...
armel sauvy's user avatar
0 votes
1 answer
201 views

I'm having issues using shinyjs::toggle. I have a box displaying selected inputs which I want to show when the user has selected an input and hide when they haven't selected an input. shinyUI <- ...
Nathaniel Wigdahl's user avatar
0 votes
1 answer
498 views

I have a Shiny dashboard where I would like the tab to depend upon certain data and then the dropdown input to determine what output is presented (i.e. table, boxplot, line graph). I have 3 tabs and 3 ...
Stinky_Goat's user avatar
0 votes
1 answer
188 views

I am rendering the full column with checkboxes, each checkbox has its individual id so I can play with the different options and catch the relative states. in the example below as you can see all the ...
stat's user avatar
  • 669
0 votes
1 answer
171 views

In order to make an app where panels are created dynamically, I would like to remove, hide and/or update panels from the package shinyWidgets. I didn't find any function to do so nor way to add IDs to ...
sbenateau's user avatar
1 vote
1 answer
212 views

I use the function flipBox from shinydashboardPlus to create flip box and I add a button. The user have to clik on it to flip the box. But the box also flip when we click on it and I would like to ...
PrettyClose's user avatar
0 votes
1 answer
2k views

In a Shiny app, I would like to be able to use check boxes or radio buttons to toggle on and off the visible output. Currently, I can achieve this only by creating separate check box ui items and ...
r0bt's user avatar
  • 609
0 votes
2 answers
397 views

I having a trouble here, this is my code: library(gapminder) library(shiny) library(plotly) library(shinyWidgets) df_first_mexico <- gapminder %>% filter(country == "Mexico")%>% ...
Laura's user avatar
  • 759
2 votes
1 answer
2k views

I am facing the following problem: I have a shiny app where a user is going through a planning process (there is a lot of user input). When the process is complete, I'd like to implement an ...
Daniel's user avatar
  • 63
0 votes
0 answers
311 views

I am currently trying to create an R Shiny app with multiple tab panels. On one tab panel I would like to enter some numbers and then depending on a button show and hide the numbers entered. I use ...
Nerd's user avatar
  • 91
0 votes
1 answer
145 views

How can I save the current plot that is displayed on the mainPanel? I am having trouble pointing the correct graphic to the download Handler. This is what I have: library(shiny) library(ggplot2) ...
Salvador's user avatar
  • 1,973
2 votes
1 answer
499 views

I am currently trying to develop a minimal working CustomMessageHandling dashbord in R. What I am doing is simply sending a message from my R client side to my Javascript file, which is then run in ...
JOKKINATOR's user avatar
0 votes
1 answer
405 views

With a Javascript snippet in Chrome devtools, I can use Shiny.setInputValue('input',0) while my Shiny app is running to reset the value of an actionButton. It works well and I only need that one line. ...
Adrarc's user avatar
  • 171
1 vote
1 answer
339 views

I want to create a legend to depict what different colors mean. Like the image below: I'm able to achieve this by passing Null values to plot but the plot takes up a lot more white space around it. (...
am3010's user avatar
  • 67
3 votes
1 answer
1k views

I use pickerInput from shinyWidgets and I would like to disable it. For this purpose, I used the function disable form shinyjs package but it's doesn't work. But when I use selectInput it's work. This ...
PrettyClose's user avatar
0 votes
1 answer
42 views

In my shiny app, I need to disable selectInput Season and selectInput Mesh if the value selected for selectInput Species is "Kemps". Those same two selectInput objects should be enabled for ...
Laura's user avatar
  • 137
2 votes
0 answers
64 views

I see that datatable works well with Shiny web to have editable cells or rows/columns. They are caught using cell_edit events. But I cant find a similar thing for mobileShiny in f7table. rhandsontable ...
kygo's user avatar
  • 29
0 votes
1 answer
257 views

I would like the download button in the below shiny app to become enabled ONLY when at least one check box is selected. Following this guidance, the below app disables the button upon page load and ...
lrclark's user avatar
  • 91
0 votes
1 answer
240 views

I have a problem disabling tabpanel in my shiny app. To do so, I tried the following code: library(shiny) library(shinyjs) ui <- navbarPage("Hello", tabPanel("...
Krystyna Grzesiak's user avatar
0 votes
2 answers
351 views

I want to have a set of dynamic textboxes that have border colors that match the color that's described by it. If the text of the textbox is "red", I want a red border. Here is how I am ...
Jeff's user avatar
  • 742
0 votes
0 answers
342 views

How can I place icon at the end of the text like in the image and based on the percentage the text will hide and shown instead of that, is it possible to keep the text in the screen? File myloader....
Nazima's user avatar
  • 103
1 vote
0 answers
367 views

This answer explains how can one disable/enable all UI elements in a Shiny app. Among the two solutions given, the one I am interested in uses the shinyjs package (I'd rather not play with javascript ...
Sam's user avatar
  • 136
3 votes
1 answer
794 views

I have a shiny dashboard that displays various elements (highchart and ggplot plots, datatables). Users can filter by some variables to create a "groupA" and groupB" of data. GroupA is ...
msm1089's user avatar
  • 1,504
0 votes
0 answers
240 views

I have a shiny app with a sidebar menue and several different tabs. Within each tab, there is a lot of content that is supposed to be seen together, so the tabs are quite lengthy and navigating can be ...
Paul Eagle's user avatar
1 vote
0 answers
199 views

I am trying to display the percentage load spinner while loading the shiny app but in there is no default percentage load is spinner then i tried to google it i got the code in HTML, CSS, js code (...
Nazima's user avatar
  • 103
2 votes
1 answer
381 views

I'm trying to toggle the control bar using an actionLink in the top right (to basically copy what the gears icon is doing, and later I will remove the gears icon to just have one actionLink) and also ...
karuno's user avatar
  • 431
0 votes
1 answer
303 views

In the following app, users are supposed to upload a csv dataset file and select a column for further processing. The columns to choose from will of course depend on the uploaded file. Therefore, the ...
Lime91's user avatar
  • 75
1 vote
3 answers
1k views

I have a simple app and want to add custom icons to my TabPanels See code library(shiny) ui <- fluidPage( br(), navlistPanel( tabPanel('Menu1', icon = icon("bar-chart-o"), ...
Arkadi w's user avatar
  • 109
0 votes
1 answer
661 views

I have a tab with n questions, each associated with Likert style radio buttons. I would like to display the selected answers in a number of different ways (plots etc.) without switching to or creating ...
jono3030's user avatar
  • 432
1 vote
2 answers
934 views

I have been having problems combining the hide(), show() and reset() functions from the shinyjs package. I have two divs. One div collects data using multiple user inputs and ends with a submit button....
Phil.He's user avatar
  • 154
0 votes
1 answer
292 views

I want to put the focus and edit the first cell of my dynamic table when the user clicks a button. the problem is that the id of the table tag is dynamic. actually, the name I put in dtoutput is a div ...
developer's user avatar
0 votes
1 answer
276 views

I'm trying to trigger an event in my shiny application, based on the slide that is active in a bsplus carousel that's housed within a modalDialog, i feel that using shinyjs is the way forward, given ...
david glen's user avatar
0 votes
1 answer
178 views

In the shiny app below I want an image to be displayed upon app loading for first time and then be hidden after clicking the actionButton(). library(shiny) library(shinyjs) library(shinydashboard) ...
firmo23's user avatar
  • 8,546
1 vote
1 answer
214 views

In the modularized shiny app below Im trying to display both the plot and its box when I hit the actionButton(). Although it was working for the plot when I tried to do the same logic for the box both ...
firmo23's user avatar
  • 8,546
0 votes
1 answer
1k views

In the modularized shiny app below Im trying to display a message when the app is loaded for first time and then when I click the actionButton() this message is being hidden using shinyJs() and the ...
firmo23's user avatar
  • 8,546
1 vote
2 answers
245 views

I have a list of hosted audio files for which I would like to get the duration of, without having to download the files themselves. I can do this by creating a html DOM element <audio> and ...
Ratnanil's user avatar
  • 1,772
2 votes
0 answers
383 views

We have a very complex app which contains 20 downloadHandler instances that serve either .csvs, .rmds, or .zip files. Until this past week they all worked, we've been doing a lot of work on other ...
woggles's user avatar
  • 99
1 vote
1 answer
2k views

In the shiny app below Im trying to use shinyJS() to hide and display text but I get: Error: shinyjs: could not find the Shiny session object. This usually happens when a shinyjs function is called ...
firmo23's user avatar
  • 8,546
1 vote
1 answer
316 views

I want to get the items that were selected from selectInput(). However, it seems only the first item could be transferred to server(). The UI: sidebarLayout( sidebarPanel(width = 4, ...
tuanzi's user avatar
  • 27
0 votes
1 answer
504 views

I've got a shiny app inside azure app service using Azure's EasyAuth. I can successfully authenticate to open a page. However, I'd like to get the user information which isn't automatic since Shiny ...
Dean MacGregor's user avatar
1 vote
0 answers
135 views

I was wondering if anyone has ever successfully implemented a moveable splitter bar/pane in their Shiny App before? I am curious on whether these JS libraries have ever been implemented in Shiny: ...
TJC's user avatar
  • 51
7 votes
1 answer
3k views

I'm struggling to understand how to use the addResourcePath() function from R shiny (https://shiny.rstudio.com/reference/shiny/latest/resourcePaths.html), even despite this apparent solution to ...
Jamie's user avatar
  • 511
1 vote
2 answers
176 views

In following this question if the checkboxGroupInput has inline=TRUE then disable(selector="#a .checkbox:nth-child(1) label") will no longer disable the option. Is there a tweak to the ...
Dean MacGregor's user avatar
1 vote
1 answer
1k views

Hi and thanks for reading me I am working with an application that has a password layer and I would like to know how I could hide a tab item based on the person entering the application. So far it is ...
Jorge Hernández's user avatar
0 votes
2 answers
280 views

In the below MWE code, the object input2 is optionally called by the user by clicking the "Show" radio button for Input 2. Default setting is to hide input2. However, when first invoking the ...
Curious Jorge - user9788072's user avatar
0 votes
1 answer
158 views

In my application the user can select a number of sessions, which determines how many files widgets the user has available where they can upload files. What I would like to happen is that when the ...
anorlondo's user avatar
  • 417
0 votes
2 answers
342 views

Im trying to create a condition on a push button so it only works when my input is not empty AND is numeric . My code partially works as the button starts in a disabled gets enables when an input is ...
Andres Mora's user avatar
  • 1,118
0 votes
0 answers
118 views

I have used reactiveVal for the data, I have actionbuttons where I am using for filling N/A's, Square UP values of columns etc. While using actionbuttons the selectin put is resetting and goes to its ...
Gevorg Atanesyan's user avatar
1 vote
2 answers
540 views

I would like the shiny app to auto redirect to the url in a new tab. I tried to use window.open(), but the popup will be blocked by chrome I also notice if the very first thing after clicking button ...
WenliL's user avatar
  • 557

1 2
3
4 5
13