Questions tagged [shinymodules]
The shinymodules tag has no usage guidance.
shinymodules
172
questions
0
votes
0
answers
28
views
Using NS Modules With shinymanager and rhino
I've created an rhino R Shiny app and would like to add shinymanager auth. Adding shinymanager means I cannot use modules because I cannot use ns <- NS(id) as id is not defined.
Based on the ...
1
vote
1
answer
38
views
Shiny modules - including module CSS and JS without repeating
I'm wondering what are the ways to include some CSS and possibly Javascript that's needed for a Shiny module to work, without duplicating that code when multiple instances of the module are called? ...
0
votes
1
answer
23
views
Shiny Module Input Not Recognized in Render Function
I am working on a Shiny application with a modular structure. The application involves a main UI that includes a module UI and a tab for testing inputs. The server logic initializes and renders the ...
2
votes
1
answer
59
views
Action buttons in rows of a DT data table inside a module
Inspired by this post, I've written a shiny app with a module for a DT data table with two action buttons on each row.
Without the module the code works, as shown in the original post. Unfortunately, ...
1
vote
1
answer
59
views
remove_shiny_inputs not working for nested module
Background: I have an R shiny app where I use nested and dynamic modules. There are 3 nested levels:
App level module: where a data frame is created (not dynamic)
Tab level module: holds one feature ...
0
votes
1
answer
42
views
Within a Shiny Module, how to dynamically update multiple filters based on selections made in previous filters?
We're currently implementing Shiny Modules to manage multiple filters within our Shiny App. Users can select a specific campus, specialty, or department and subsequent filters should adjust ...
0
votes
0
answers
35
views
Calling nested module ui functions from the main app
I am writing an R package that contains a shiny module (server & ui) I want to reuse in many projects.
That package module may be implemented as a nested module in case I want to reuse the calling ...
0
votes
1
answer
51
views
R shiny - Returning editable datatable from module
I've written an R shiny app which uses a module to create an editable datatable. The editable datatable is displayed correctly when the module runs using a reactiveValues I've named rved. However, ...
0
votes
1
answer
33
views
shiny module for downloading plot
I am trying to develop a shiny module that is essentially a download plot button. Idea is to reuse this module in several places of my app. I am struggling though to get it working.
You can see a ...
0
votes
1
answer
43
views
How to add a nested list to a reactiveValue from a Shiny Module
I need to add data from a nested list from a Shiny module to a global reactiveValues() variable.
The objective is to save different versions of the selected data into the reactiveValues for later use.
...
0
votes
1
answer
171
views
How to make an R Shiny app reactive to re-initializing a module
In an R Shiny app, I created a module with the modules package to read (and process) external data. The module exports a function, getData(), which is used to access the processed data for outputting ...
0
votes
1
answer
53
views
`conditionalPanel` and `renderUI` within Shiny modules
I'm trying to get my Shiny app to work using the rhino package. I have successfully created a data module that allows the user to select a dataset to be imported. This next problem module is supposed ...
0
votes
1
answer
46
views
Namespacing issue in nested modules with for loop
I have coded a large Shiny app and I am modularising it with nested modules.
At the lower level, each module is taking care of coding for and returning a figure ('Figure' module). This module is ...
1
vote
1
answer
25
views
Observe an input which rendered in uiOutput in a module
I am trying to observe an input which rendered in uiOutput in a module.
I tried the following reprex code:
my_modUI <- function(id) {
ns <- NS(id)
tagList(
uiOutput(ns("ui1")),
...
0
votes
0
answers
80
views
How to get Sidebar inputs and body to interact using separate modules
New to the shiny world and trying to incorporate modules into my code. The problem I am having is that I want my sidebar to have a series of selectInputs and then have the plot output within the body--...