188 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
47
views
Why am I getting a warning with renderPlotly in a nested module? [duplicate]
In the below distilled code I have a nested (or wrapped) module, a wrapper (or consumer) module, and a dummy parent app so the whole thing can run together.
A plot is generated using plotly, and the ...
2
votes
1
answer
80
views
How to make R Shiny namespace module work more like a reusable function?
I have a large App that uses namespace modules. I have a module that could be used in many other modules, but with different configurations depending on where it is deployed. It's almost like I want ...
2
votes
1
answer
66
views
How to create a JS event for a button in a DataTable using modules?
I wanted to insert buttons into a DataTable and found this very helpful code. Just copy pasting it in the simplest case works like a charm, however, I cannot adapt it to my modularized situation. I am ...
2
votes
1
answer
60
views
Detect active tab in a shiny module
I have a shiny module with some tabs. The goal is to detect which tab is active during a session and return the id of the tab in the console. I tried using some javascript but it doesn't seem to work. ...
2
votes
2
answers
81
views
Advice to improve an implementation of shinyjs show/hide which uses modules and a 'click' event listener
I'm working on a UI element which contains a number of value boxes. When one of these value boxes is clicked, it shows hidden content. Additionally, when a value box is clicked, the other previously ...
3
votes
1
answer
165
views
Issues integrating shinychat into a modular R Shiny app
I am having problems integrating this chat feature into a modular shiny app. Using the chat_ui example and some slight modifications to make it modular generate this error. I think it has something to ...
Josh's user avatar
- 2,032
2
votes
0
answers
64
views
conditionalPanel not working in nested modules [duplicate]
Here is a working example for a conditionalPanel inside a modal dialog in a 1st level module:
library(shiny)
library(bslib)
# Child module server function
childModule <- function(id, run) {
...
5
votes
1
answer
159
views
Why does an observeEvent trigger multiple times when clicking on a DT table in Shiny?
I am building a modularized Shiny application that uses shiny, DT, and other libraries to render an interactive datatable. The table includes clickable elements in a specific column, and when clicked, ...
2
votes
1
answer
88
views
How to access the input values of a selectInput widget embedded in a DT table?
I have a perfectly working shiny application which renders a DT table with one or more DT columns where the rows contain selectInput widgets.
Given a data frame df with one list column, I create the ...
0
votes
1
answer
95
views
Do not update plot in modular R Shiny app until all linked inputs update
I have an R Shiny app comprised of three modules. The plot module relies on the outputs of the other two modules. Of these other two modules, the select_new_n module is affected by the select_cyl ...
3
votes
1
answer
261
views
Is it possible to define class methods as Shiny Python modules?
I'm trying to build a Shiny for Python app where portions of the form code can be broken out using Shiny Modules where I can define the specific ui and server logic as a class method, but ultimately ...
1
vote
0
answers
48
views
How do you get file inputs to be recognized across multiple Shiny modules?
I'm trying to make a shiny app that allows the user to upload data on one tab and view reports made from that data on other tabs.
For example, when there is no file uploaded, a message appears asking ...
0
votes
1
answer
44
views
R Shiny module not reacting/updating after clicking
I have a shiny code that creates a formula box and when user clicks on the button it adds them to the text area and updates the formula and text area as below:
library(shiny)
library(shinyWidgets)
# ...
0
votes
0
answers
142
views
downloadButton in leaflet popup using modules
I'm building an R shiny application that has a downloadButton in a leaflet popup to download data specific to the area clicked. I was able to implement this following this post. My approach seems to ...
0
votes
1
answer
82
views
How to modularize this Shiny application?
I am trying to modularize an existing single file application. I tried to check existing answers in this topic, but still not able to get my demo code to work. I guess I am close to the working ...