Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

Color Transparency Not Consistent in Shiny Map

Link to the data is here. Hi I am developing a Shiny App. I have drop down menu with All options and the colors are consistent and transparent across the map. But I choose a particular city, it turns ...
Ko Htut's user avatar
  • 33
0 votes
1 answer
16 views

observeevent not working in .Rmd but works in .R

I have created a .Rmd file with a chunk for a shiny app. In my example setup, there are two menus: year menu: select a year from 2018-2022, category menu: select one of four categories. For two ghg (...
hks's user avatar
  • 189
0 votes
1 answer
66 views

Disable button for 5 seconds with different label and change after it

I'm trying to create an intro in my shiny app using the rintrojs package with the introjs function. My goal is to create an intro where the first next button is disabled for 5 seconds and has a ...
Quinten's user avatar
  • 40.3k
0 votes
0 answers
37 views

multiple lines unexpectedly highlighted in line chart with ggiraph

I am trying to follow the tutorial on youtube, but my dataset shows a different result with the expection. Here is my code demo: tab <- tabPanel( title='Analysis', mainPanel(girafeOutput("...
JIJIKO's user avatar
  • 1
2 votes
0 answers
61 views

Is there a good, general catch-all for upload errors in R Shiny that prevent the code from crashing and ignore an erroneous upload?

I'm working on an upload/download function in R Shiny for saving and retrieving user inputs into data frames and other table objects. Files are locally saved to the user machine. I'm using tryCatch() ...
Village.Idyot's user avatar
0 votes
0 answers
29 views

Passing and Parsing Data with session$registerDataObj in R Shiny

I'm attempting to leverage an auth setup for a Shiny app that uses JWTs and am struggling with parsing the returned token in server.R. In summary, the user attempts sign in, a customHandler hits the ...
donovki's user avatar
  • 13
0 votes
1 answer
26 views

Creating javascript buttons in shinydashboard

I am trying to follow this excellent tutorial: https://thatdatatho.com/adding-action-buttons-in-rows-of-dt-data-table-in-r-shiny/ to add action buttons to a DT table in shinydashboard, but it appears ...
P5C768's user avatar
  • 164
0 votes
0 answers
34 views

Remove lines in Shiny built in Golem [closed]

I'm trying to create a shiny app with golem. The problem is that the sel_r and sel_r2 objects don't store the information of the selected rows in the table using input$tbl_rows_selected, when executed ...
Mateus Piza's user avatar
0 votes
0 answers
46 views

One bar graph bar does not work in shiny app but works locally

I recently started using Rstudio to make an interactive web site. The user selects some values (number of span for the LOESS, number of months, months and/or days) and the system adds or subtracts the ...
Facundo Vargas's user avatar
0 votes
0 answers
18 views

fmt_image() conflicting with opt_interactive() when deployed

library(gt) library(gtExtras) library(shiny) library(tidyverse) ui <- fluidPage( gt_output("dog") ) server <- function(input, output, session) { output$dog = render_gt({ ...
User 1234's user avatar
0 votes
1 answer
23 views

Consulting about using the golem package to develop a Shiny application (embedding Rmarkdown)

I am currently researching the development of a Shiny application (embedding Rmarkdown files) using the golem package. I have encountered a problem where after developing the Shiny application with ...
YY LIU's user avatar
  • 1
0 votes
0 answers
28 views

app works in local but not when posted to shinyapps.io [closed]

I am trying to publish an app on shinyapps.io that works perfectly fine locally, but when I upload it online, I get the following error: Error in func(fname, ...) : app.R did not return a shiny....
user13195765's user avatar
0 votes
1 answer
57 views

How to Modularize UI Code in Shiny for Better Readability? [closed]

I'm working on an R Shiny dashboard that has grown significantly in size, and it's continuing to expand. The server-side code was becoming difficult to manage, so I’ve successfully started ...
Gurkenhals's user avatar
1 vote
0 answers
28 views

How do you get file inputs to be recognized across multiple Shiny modules?

I'm trying to make a shiny app that allows the user to upload data on one tab and view reports made from that data on other tabs. For example, when there is no file uploaded, a message appears asking ...
Austin Mangelson's user avatar
2 votes
1 answer
32 views

How to change the values of a DT's filtering sliders in R Shiny with JavaScript?

I'd like to modify the values of the filtering sliders produced by DT in JavaScript. I want to change these values rather than filter the data elsewhere as, ultimately, I want to add presets so you ...
JStorey's user avatar
  • 37
1 vote
0 answers
25 views

Select x-axis range by brush in a plot inside a box

In Shiny, I select an x-axis range by brushing a plot, as in the MWE below: library(shiny) library(ggplot2) library(cowplot) library(shinydashboard) test_ui <- function(id){ ns <- NS(id) ...
DaniCee's user avatar
  • 3,087
0 votes
0 answers
32 views

How to show mean in time series graph reactively?

I want to achieve this sort of plot dynamically using shiny. It is to show the year on year set of data with the yearly average of within the year. I am able to get it outside of shiny, but I'd like ...
Lavacave's user avatar
0 votes
0 answers
52 views

How to add a row filter for a categorical variable? [closed]

I would like to add a filtering condition into my shiny app. Currently it is using plotly, but I am not married to plotly if another tool works better. My data has a category called 'municipalities'. ...
Lavacave's user avatar
0 votes
1 answer
28 views

How to namespace when using shinyjs?

I am creating namespace modules but am having problems now when using shinyjs() functions like hidden() and show(). In the below Example 1: with module, clicking the action button testButton should ...
Village.Idyot's user avatar
1 vote
0 answers
41 views

Building Docker image for Golem Shiny App fails due to own golem package

I am trying to create a Dockerfile for a Golem Shiny app, using the golem::add_dockerfile_with_renv function. I am new to using Docker and I can't get the image to build because I do not understand ...
Thomas's user avatar
  • 21
0 votes
0 answers
25 views

Issue with uploading shiny app to shinyappio

running into error when trying to upload the app with rsconnect::deployApp(). library(shiny) library(tidyverse) library(dplyr) library(ggplot2) library(ggVennDiagram) library(clusterProfiler) library(...
phampe's user avatar
  • 1
1 vote
1 answer
41 views

Adding custom modebar button to allow functionality of a third hovermode by color

This is hopefully my final question for this plot. I received help twice previously, both of which worked in standalone plotly graphs, but my plotly object being present in the context of a shiny app ...
prizzlywizzly's user avatar
0 votes
0 answers
37 views

Is it possible to build a reproducible Shiny app enabled with keys based on specific inputs?

I am a learner of R Shiny and have built some toy apps in preparation for a serious, production-grade app. I am wondering if it is possible to: Take a snapshot of the inputs used by the users, Encode ...
Grasshopper_NZ's user avatar
0 votes
0 answers
43 views

Shiny reactive text causing fatal error when run on server

So I had an R Shiny dashboard that was running totally fine with no errors or warnings when run locally using RStudio. However, when deployed to a shiny server it was not working at all. The UI would ...
Stinky_Goat's user avatar
1 vote
1 answer
34 views

Duration of point update animation using highchartProxy

I am using the suite of highchartProxy functions in Shiny. I would like to set the animation duration to 6000 milliseconds when updating points of a packedbubble series using hcpxy_set_data, with the ...
tibblah's user avatar
  • 25
0 votes
0 answers
39 views

Shiny app in R with two dataframes linked to one menu

I have four datasets that I have shaped and combined into combined_data. I'm able to get my shiny app to work with this dataset, showing data from each separate dataframe as a different coloured line. ...
TK8383's user avatar
  • 1
0 votes
1 answer
59 views

Shiny extracted number leads to en error when using "between" function

EDIT (but not solved yet) This following code leads to the error: # Possible result with num_src() == 6 & num_ong() == 4 donnees = tribble( ~epci.res,~annee,~an_muta,~natloc3,~n,~pct,~total ...
Elliot O's user avatar
0 votes
0 answers
51 views

Prevent rescaling graphs on different screen sizes when zooming in R shiny

When we create a shiny app, users will use the app on different screen sizes (laptops, monitors). This means there are different heights and widths per user which may transform the graphs which have ...
Quinten's user avatar
  • 40.3k
0 votes
0 answers
18 views

Error when recording tests using shinytest2 in an app with sub-modules

I am trying to record tests in an app with submodules and I end up getting the below error: Error (test-shinytest2.R:25:3): {shinytest2} recording: test2 Error in `app_find_node_id(self, private, ...
Nandukrishnan H's user avatar
1 vote
1 answer
55 views

Theme for dashboardpage when nested within navbarpage

I created a R shiny app using dashboardpage but now I want to combine multiple dashboardpage app into a single app and was trying to using navbarpage to achieve this. It seems to work but adding ...
tpbilton's user avatar
  • 173
1 vote
1 answer
47 views

Partial plot with scroll bar when using `vertical_layout: scroll` with `flexdashboard` and `runtime: shiny`

I am trying to present a basic plot inside flexdashboard with runtime: shiny. That works fine with the flexdashboard default, vertical_layout: fill, but not with vertical_layout: scroll, where the ...
rempsyc's user avatar
  • 958
1 vote
1 answer
73 views

HTML5 Audio player in R Shiny app goes to beginning of track when setting currentTime

I have created an audio player using R shiny which creates an audio player like this: tags$audio( src = "song.mp3", type = "audio/mp3", controls = "controls&...
TheDza's user avatar
  • 343
1 vote
1 answer
73 views

Check status of downloadHandler upon completion of content

I have a shiny app that generates and saves a report when the user clicks a button. I want to show the save status in the button by changing its label and icon. I am using a downloadButton to allow ...
AWaddington's user avatar
1 vote
0 answers
79 views

file.copy with downloadButton in Shiny

I would like to create a downloadButton which downloads certain files. The problem I'm facing is that I can't specify the destination path of the file in a Quarto dashboard. For that reason I'm trying ...
Quinten's user avatar
  • 40.3k
0 votes
1 answer
31 views

Is there a numericInput for Shiny with min/max values similar to dateInput

I am looking for a min/max numericInput option (or similar solution) for Shiny where the user can filter data based on given min/max values, visually the slider option is not great. Is there an option ...
wit's user avatar
  • 87
2 votes
1 answer
83 views

How to get virtualSelectInput() options to extend past the bslib sidebar?

Once I open the dropdown, I would like the full item name to be visible, i.e. overflowing the dashboard's body. The names are cut at the sidebar border by default. I'd love to develop my front-end ...
its.me.adam's user avatar
1 vote
1 answer
49 views

Is there a way to plot using only Javascript commands in shiny

I am trying use only only javascript to plot a graph in shiny. Can anyone help me in achieving this below library(shiny) ui <- fluidPage( #htmlOutput("d"), tags$p(id = 'g', class = '...
manu p's user avatar
  • 985
0 votes
1 answer
40 views

Downloading Shiny Plot as PNG [closed]

I am trying to learn shiny and am working on a simple app that creates a plot for you and lets you download it. Here is the code: library(shiny) library(shinycssloaders) library(ambient) ui <- ...
Ahmad Noman Alnoor's user avatar
0 votes
1 answer
33 views

How to change the page in page_navbar as nav_select doesn't seem to work for me

It might be to do with the way I'm inserting navigation tabs? If anyone could help I'd really appreciate it. I'm using something along the lines of this reprex as the nav_inserts are only activated if ...
Sam's user avatar
  • 1
0 votes
0 answers
27 views

R shiny + google map: Pin (marker) doesn't load when using googleway::google_map_update()

I have an app that uses googleway to work with google maps api. It uses a callback javascript function to handle the autocompletion functionality from google maps api (see reprex below). At start it ...
cwillig's user avatar
  • 21
1 vote
1 answer
49 views

Add a custom search field in reactable in R Shiny

I am developing an application in R Shiny that displays a table using the reactable package. I am trying to add a custom search field that searches all the columns in the table. Looking at Greg Lin's ...
Wardiam's user avatar
  • 197
0 votes
0 answers
49 views

Shiny app working on local device but not on shinyapps.io

I have an interactive map that I have created using shiny apps and it works on my local device. When I try to deploy to shinyapps.io using the deployApp() function i receive "An error has ...
Kevin Short's user avatar
2 votes
1 answer
61 views

Filtering data in reactable in R shiny. Reactivity and invalidatedLater

I have an R shiny app that works fine, but when I retrieve the data by pressing the ´Get data´ button all the components within the server function get executed twice, and I only want them to be ...
Tota Juliusdottir's user avatar
0 votes
0 answers
30 views

How to select/unselect items in the legend using echarts4rProxy?

I am trying to select/unselect items in an echarts4r legend, using echarts4rProxy, and I can’t seem to get it to work. In the minimal reproducible example, which is based on this simple example where ...
user27074229's user avatar
0 votes
1 answer
43 views

Previous selectizeInput value staying at top of choices when using actionButton

The app below works as expected on startup and when clicking the "Next Vehicle >" actionButton for the first time. When I press the actionButton a second time, it selects the third ...
franuentes's user avatar
0 votes
1 answer
48 views

Is there a way to reestablish SQL Server connection with R Shiny app?

My Shiny app keeps getting disconnected from the server. This is the error I keep getting on the Posit logs: Warning: Error in eval: nanodbc/nanodbc.cpp:4616: 00000: [Microsoft][ODBC Driver 17 for ...
Harry Kalsted's user avatar
0 votes
1 answer
41 views

Reactable with footer works locally but not on Posit Connect

This app works locally, but not when deployed to the shiny server. library(shiny) library(digest) library(reactable) ui <- fluidPage( mainPanel( reactableOutput("rt") ) ) server ...
paul79's user avatar
  • 45
1 vote
2 answers
57 views

How to add a date picker to filter a date column in a reactable table in R Shiny?

I would like to display a reactable table in an R Shiny Dashboard where the records can be filtered by column. One of the columns is a date. I would like to use a date picker that appears when you ...
Gurkenhals's user avatar
2 votes
1 answer
66 views

Partial Alignment of Shiny Datatables

I have two tables that I want to stack vertically. The lower table contains raw data and the top contains summary stats of the raw data. The wrinkle is that the lower table has an extra column on the ...
FSU79's user avatar
  • 21
1 vote
1 answer
36 views

How to visualize wide plots with a common scroll bar, and "group" them with frozen blocks on the left?

I have a Shiny MWE like the one below, where I show some plots (passed from other tabs in the app). I am able to accomplish this: library(shiny) library(ggplot2) test_ui <- function(id){ ns <-...
DaniCee's user avatar
  • 3,087

1
2 3 4 5
584