Category "shiny"

How to prevent user from doing anything on shiny app when app is busy

I have a complex shiny app with a lot of inputs, a leaflet map etc ... The problem I have is when the app is busy making some calculations, the users keep on cl

Suppress messages in console when running shiny

See example: shinyFunction <- function(){ shinyApp( ui = basicPage( actionButton('print_message', "Print a message") ), server = fun

Change sparkline coloring in shiny DT table

Below is the code to develop sparkline in R. Wanted to check if we can change the color . I mean the negative values to be black and positive values to be red l

r shiny and ggplot2::facet_wrap how can I add categories to facet_wrap without having the original plot resize?

I have a shiny app that lets the user add categories to the facet_wrap. When I start with one category the plot fills the entire box but when I add a second cat

Download A File Generated Within An R Shiny App

I am currently trying to generate a Shiny App that at the press of a button generates and downloads data for a user. I have a user defined function that pulls d

Cache data in Shiny Server on Docker

I am currently trying to implement caching on my dockerized shiny app, but i am facing troubles, the app doesn't work and there's no log to trace the problem: S

R shiny datable with styleColorBar not aligning the data on the left hand side

I have the following code and my goal is to add styleColorBar to the WGT column, aligning the yellow bars on the left hand side of the column. df = data.frame(W

Return input as list in reactive shiny - dynamic UI in insert UI

I'm using the code from a previous solution R shiny dynamic UI in insertUI In my app right now, the inputs are rendered by the server and displayed as different

Interfacing Shinymanager and Golem

I would like to know if there is any documentation about interfacing golem structure and shinymanager which is a package I use frequently to secure my app. The

Is it possible to customize the size of rpivottable treemaps

This code works and the pivot table is drawn but the treemap is huge and I need it to render to about 50% of the current size, 500px would be fine for now. It s

Include 'blank' filters in dplyr filter chain in Shiny app

I have a shiny application with numerous user inputs including numericInput and textInput and pickerInput. These inputs are used to filter a dataframe. In my fi

R Leaflet does not show legend when embedded in Shiny Dashboard

The map above renders perfectly fine in the following scenarios: List item RStudio Viewer Shiny app Shiny app using a minimal Shiny dashboard sceleton When

R Shiny: Slider anchors overlap at the end

On the UI, there are two sliders where the range of the second slider is dependent on the first slider's input. However, certain values on Slider 1 can lead to

Show a message instead of/within plot while data is loading in R Shiny

Is there a possibility in R Shiny to replace a plot with a "loading" message while additional data is loading? I am using a big dataset in my app and since not

Uploading zip with multiple files into a shiny application

I am trying to upload a zip file through my shiny app that contains a bunch of xml files in it, and then process them. My code looks something like this: libra

Removing Table entries using remove UI in Shiny

I am populating a table by using Insert UI elements. I also want to delete both table entries and the inserted panels by using the remove UI elements. I could

Leaflet map 'Error in polygonData.default(data) : Don't know how to get path data from object of class data.frame'

I'm trying to create a leaflet map of census data. I have a csv file contains the number of deaths across Ireland. The data consists of the year($Year), the Sex

R - Plots without Shiny - Create with JavaScript and produce screenshot

I have a Shiny application that generates one image after clicking an action button, and saves the screenshot of that image after pressing on another action but

Do not wipe out (user entered) values of reactive variables when changing input values

I want to collect individual information (name and age) as user input with the attached demo code. The initial number of individuals is 1, and when the user inc

Running docker shiny app on my own domain

I have a VPS Linux (Ubuntu) server with specific IP and I would like to run my shiny app on my own domain http://my_domain.com. Therefore, I have built a docker