Category "shiny"

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

How can I access camera and take photos within my R Shiny App? [closed]

I am willing to make my Shiny App accessing the camera and take photos every 5 seconds in the background. I do not want to see the photos on t

Docker container with shiny app listening on localhost

I am working with a linux server and I would like to run a docker container with my shiny app, but it is not working. In order to check the problem, I have run

renderPlots() not showing when on shinyapps.io but do show when I run app locally using conditionalPanel

I am trying to make one of two plots depending on browser size (from shinybrowser) using conditionalPanel. The plots are appearing when I run the app locally bu

How to return a reactive dataframe from within a shiny module that depends on a button click?

Aim: Return a reactive dataframe object from within the module named "modApplyAssumpServer" Problem: I am getting an endless loop. Even if I wrap everything wi

Keep libraries in memory even when all browsers are closed

I have a shiny app on RStudio's free shiny server that uses a fair number of libraries which results in a slow calculation time. The time for the UI to load is

How to add fileInputs into DT

I need to add a fileInputs to each row of a table. Unfortunately, this widget does not work correctly, unlike regular actionButtons and other elements. The wind

Change plot size of rglwidget in shiny

I would like to stretch these plots to the window size or at least make them bigger: ui.R options(rgl.useNULL = TRUE) library(shiny) library(rgl) shinyUI(flui

Shiny app file upload is substantially slower on different machines

I have a shiny application that takes a file upload, calls a script that processes the uploaded file, and writes 4 csvs as output. The app works but as the titl

Problem viewing a pdf file in a shiny app

To view a pdf file and my shiny app, I use the following code on the server side, which everyone recommends: output$pdf_info_exper <- renderUI({ se

Communication between modules and looping through values to create several modules

Goal I have five expectations: Solution using modules Communication between modules Dynamic creation of modules local storage using shinyStore Export result in

Internal link between tabs to specific section in R Shiny app

I want to link to a specific content of another tabPanel within an R Shiny app. I've found plenty of advice on how to do the half part of it respectively: there

Why is updateTabsetPanel running last inside an observeEvent?

I am looking to: Insert UI elements Update UI elements Run a long calculation All after pressing one button. Example app: #EXAMPLE APP---- #Libraries---- librar

Shiny Error: replacement has 2 rows, data has 1

I am trying to create a Shiny app, in which users can select an "option" in the drop-down box(created using selectInput) and Shiny will display the data table a