Questions tagged [shinymodules]

150 questions
0
votes
1 answer

shiny module for regular read data (not triggered by new session

just ending to modularise my shiny app but i have a problem : my app is running all day long and some user come to consult it via web browser. i create a module to read csv and i call the module each 30 minutes by reactivetimer. the problem is the…
Ludo Vic
  • 17
  • 7
0
votes
1 answer

ggplot plot from esquisse package not rendering in flexdashboard

When I try to include the excellent esquisse shinymodule into a flexdashboard, the plots are not rendered. The example below tries to translate the Shiny example from the help for use in a flexdashboard, but although it displays and reads the data…
Lod
  • 609
  • 7
  • 19
0
votes
1 answer

shiny module: update color of button

i am struggling with the logic of updating a button in the ui based on code that is living in a module. When I click the button i want it to change the colour but nothing happens. I understand to make ui input reactive in order to use it in the…
Dome
  • 60
  • 6
0
votes
1 answer

Button passed to nested module doesn't work properly

For some reason I need to nest modules. I passed button to nested module mod_coordinates_server but when I click the button points do not show up on the map. I used here reactive and button is passed correctly - when you uncomment print(btn()) (in…
mustafa00
  • 751
  • 1
  • 7
  • 28
0
votes
0 answers

How to return dataframe to Shiny app from Modal Dialog in Shiny module?

I'm working on the large shiny app and I need to show a modal dialog and allow to perform some arithmetics operations in there, and when it is closed, it should return the data modified according to with de arithmetics to update data in the data…
SGordon
  • 16
  • 2
0
votes
1 answer

How can I eliminate empty space below a reactive plot in R Shiny?

I have a complex R shiny application that takes advantage of multiple modules. I have two different modules (which I will call a histogram module and a scatter plot module) that each output a reactive plot. Based on user input, only one of these…
Drew Voigt
  • 35
  • 5
0
votes
1 answer

Capture selectize Input value in R shiny module

I am building a shiny app with a selectize input. The choices in the input are dependent upon the ids in the underlying data. In my real app, the data updates with a call to an API. I would like the selected id choice in the selectize input to hold…
mdb_ftl
  • 423
  • 2
  • 14
0
votes
1 answer

Passing reactive data table server to ui in modular shiny app

I want to present a data table with one column from a data frame by default and then have a user populate other columns from the dataframe using the drag and drop package sortable. I have a working example here when running via one file shiny app. …
Ahk86
  • 177
  • 2
  • 11
0
votes
1 answer

Facing issues to access shiny module dynamic input value

I am facing a issue to access my shiny module's dynamic input value from slider in the main shiny server function. In the following code from SelectInput when metric2 is selected, I should be able to see a slider with a specific range and a default.…
user2359902
  • 121
  • 1
  • 7
0
votes
1 answer

Shiny Modules: Handling a list of buttons

I am trying to build an app that relies on a list of buttons created via lapply. I can successfully reference the buttons using observeEvent when I am not working with modularized code. However, when I try to use modules, the observeEvent doesn't…
jwisch
  • 21
  • 3
0
votes
1 answer

R Shiny - Passing selectizeInput as argument to ShinyModule

This is my Code for the Server function: dragularServer <- function(id, input_col) {​​​​​ moduleServer( id, function(input, output, session = getDefaultReactiveDomain()) {​​​​​ output$elementsInput <- renderUI({​​​​​ …
Data Mastery
  • 1,555
  • 4
  • 18
  • 60
0
votes
0 answers

Module server not working in R Shiny, callmodule is not working at all

I have been trying to make an app using R Shiny modules. This is what the module looks like. library(shiny) library(dplyr) library(tidyr) library(plotly) library(shinycssloaders) library(lubridate) library(shinyWidgets) graphModuleUI <-…
Asitav Sen
  • 56
  • 4
0
votes
1 answer

Additional inputs for Shiny module only get updated once

I tried boiling this down to a minimal example, but I think I have to provide more or less the full code to show the problem. Basically I want a shiny app to act as a user friendly GUI to start/stop (multiple) system processes (mostly BASH scripts,…
0
votes
1 answer

Getting inner module server to update innerServerUI - Rshiny Modules

its my first time using Shiny Modules and having some issues getting an inner server module to work correctly. Essentially, in the outer UI the user can click an action button which results in a bunch of UI inputs being inserted into the UI via an…
Tiger_Stripes
  • 485
  • 5
  • 17
0
votes
0 answers

RShiny and Modules output. Object of type environment is not subsettable

Dear people of sackoverflow, I am currently trying to create an app where a user can upload a dataset from various sources. I tried to isolate the code for the upload in a separate Shiny module. However, R throws an error saying that an environment…
1 2 3
9
10