Category "shiny"

How do i fix error: data.frame: replacement has 148 rows, data has 1 (shiny and R)

I'm new to R and I'm trying to make my chart interactive using shiny and leaflet in R. however I can't seem to run my map_data() under reactive ({ code }) becau

How to run reactive background process in shiny R?

I've written code that runs a long calculation in which, as part of it, several UI elements are updated showing part of the progress and results of the calculat

How to make leaflet map and absolutePanel of inputs / outputs full screen in shiny

I want to click a button to make a leaflet map and all overlayed inputs full screen. Using the following example, I can make the map full screen but I lose the

Removing from tabsetpanel a panel defined inside a module (need to try twice to recreate a removed tab)

Im trying to build a simple app with a tabsetPanel having a set of panels definded inside a module, each one of these panels has an actionbutton aimed to remove

Rmarkdown document not rendering properly in Shiny App

I have a parametrized rmarkdown document based on Shiny inputs. The rmarkdown pdf renders properly when the app runs locally. However when hosted on the shiny s

R Shiny dataTableOutput - prevent column from showing full text column

I have code to present a table in my R Shiny application. There is a character column where the value within a given cell can be a large number of characters. I

Adjust place of downloading buttons of a DT table in Shiny

please see this picture I have a DT table in the shiny. I added buttons for downloading the content of the table (Copy, CSV, Excel, PDF). But I would like to ch

Docker image has error when running from R Studio

My Dockerfile contains the exact code as shown in the statworx website to build an image for a Shiny app. Whenever I run the following code however: # Base imag

How to set shiny-server default page/url

I have 3 different shiny apps on my shiny-server: http://123.45.678.910/cats/ http://123.45.678.910/dogs/ http://123.45.678.910/birds/ They are in /srv/shiny-s

How do I globally load Rmetric Financial calendars into `golem` at the startup?

Question: What are the best practices to go about setting a "global" financial calendar using load_rmetrics_calenders(), ie a singular run of a function in gole

R Shiny server dropbox connection works for sometime and then says "cannot connect to server" - error in drop_upload: Unauthorized (HTTP401)

I have used this code for a long time but I recently changed the dropbox account I wanted the .csv files to be sent to and now the app works, meaning you can op

rShiny Looping on ui filter conditions

I am trying to create a dashboard in rShiny which follow the following steps Select a parameter Filter data from a source table for this parameter Create a list

How to avoid error in the output (render) of a reactive object that will still be created in shiny?

I'm not able to solve the following problem with shiny app: a reactive object will be created after some procedures. In the middle of the way there is an action

if statement is not interpretable as logical in Shiny reactive function

I am currently working on an R Shiny project and below is a small reprex of the things I am trying to accomplish in my actual project. The basic idea is to proc

Specify the padding between rows in a checkboxGroupInput

This is my shiny application: ui.R # values to show, or not show, these will be the 'choices' and 'selected' values # for the checkboxGroupInput() all_rows <

I need to verify that a variable exists in a database. Shiny in R

I have a query that gives me a dataframe. When I receive the data frame, I use this code to make some numeric variables: variables_numeric<-c("A","B","C","D"

I can't run rshiny prefectly in vscode T_T

When I am runing shiny in vscode I can't draw a plot. Even the example shiny::runExample("01_hello") enter image description here this is my sessionInfo() R ve

Change selected cell background color in a Shiny DT table based on rules?

Is it possible to change the background color of user-selected cells in a Shiny app DT table based on programmatic rules and reactive values? I can customize th

An up-to-date method for plotting a transition probability matrix?

I'm trying to find an easy, up-to-date way to plot transition matrices. Could someone please recommend a method or package? I found advice on Stack, but the pos

Add row number column to a reactive data frame in Shiny

I am trying to add a row index column to a reactive data frame created on-the-fly from user inputs. I am able to do this outside of Shiny using the tibble::rowi