968 questions
1
vote
0
answers
83
views
Go to sequential URLs with actionButton to log out of Shiny app
Due to shinyapps.io using session cookies (as documented here) and browsers retaining those cookies for longer than they should (as documented here), logging out of an app using https://accountName....
4
votes
0
answers
129
views
Reducing memory used in Shinyapps.io for R project
I'm publishing a Shiny app written in R to Shinyapps.io.
In RStudio, the "memory used" is 4.9 GiB after I run the app and come back to the editor:
When I do gc(), this number doesn't change ...
1
vote
1
answer
359
views
Can't deploy shiny from R: Terra package can't be 'built'
I'm at a loss a bit as I am new to creating/deploying ShinyApps. I have an app ready to deploy which does not directly use Terra package, but apparently the Leaflet package is dependent on Terra ...
1
vote
1
answer
245
views
Reading a CSV from a Private GitHub Repo in a Deployed Shiny App
I have an R Shiny application that currently draws on a .csv file as its main data source. That file sits in the app's folder, so that when I deploy the app to shinyapps.io with RSConnect, it uploads ...
1
vote
0
answers
99
views
Issue with gtsave() and Chrome on shinyapps.io
I've been encountering an issue with the gtsave() function from the gt package when trying to save a table as a PNG file. The error message indicates that it cannot find an available port to start ...
0
votes
0
answers
208
views
What cause to "Application failed to start signal : killed" when deploying shiny app
I'm familiar with shiny app, and deployment but I recently got this issue:
"The application failed to start signal : killed"
This happened after adding data to my shiny app. So I removed ...
0
votes
0
answers
124
views
An error has occurred. The application failed to start. exit status 1
I am working on developing a shiny app where users can select a desired player and stadium overlay to create an animated home run plot. My code for the plot, user interface, and server are below.
...
0
votes
1
answer
59
views
File path not recognized to publish RMarkdown with embedded Shiny on shinyapps.io
I have an RMarkdown html document in RStudio, where I am trying to insert a shiny app which deploys and runs ok when I click on "Run Document", but when I try to publish it from here to ...
1
vote
0
answers
84
views
shinyapps.io prevent data loss due to timeout
I am running a Shiny app via shinyapps.io (https://lavaangui.org/). If I leave the browser window open for a while but not in focus, the app "greys out" and shows a "disconnected from ...
0
votes
0
answers
30
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(...
0
votes
1
answer
217
views
HTTP issue with curl on shinyapps.io
I need your help!
Issue
I have an R Shiny app hosted on shinyapps.io on which I'm recently having issues downloading a 10 MB file from the internet. When I run the app locally, everything still runs ...
0
votes
1
answer
64
views
Is it possible for a deployed app on shinyapps.io to open and run another app (Fiji) on the client side?
I have built a Shiny App that works well locally and is able to automatically open a separate app (ImageJ Fiji), run a macro code to analyze an image, and then feed the results back to the Shiny App ...
0
votes
0
answers
125
views
how can I set up my shiny app on shinyapps.io to work with my googledrive?
Updated post:
I'm having issues with my shiny app and its connection with google drive. My app aims to get responses from my team through a visual analogic scale. And I want to connect these responses ...
0
votes
0
answers
187
views
Call to rsconnect::deployApp failing
In "App.R", all I'm trying to do (in vain) is load config.yml.
ConfigFileName <- paste0(RSourceFolder, "config.yml")
if (file.exists(ConfigFileName))
{
Config <- config::...
1
vote
1
answer
619
views
What do to when I get Error when library and lockfile are out of sync?
I am trying to deploy my golem shiny app on shiny io.
I am getting the following errors when I am attempting to publish the app:
ℹ Capturing R dependencies from renv.lock
Error in `...
0
votes
1
answer
165
views
Can two Shiny Application work on same port?
I have deployed two shiny application on cloud via linux machine and on the port XX via IP address of my machine but when i load it only App 1 loads not the App 2, and also the shiny application is ...
4
votes
0
answers
187
views
Allow for Google user authentication in an R shiny app
I am working on building a Shiny web app in R that uses Google APIs. I rely heavily on {googledrive}, {googlesheets4}, and {gargle}. I've also done some experimentation with {googleAuthR} but have not ...
1
vote
1
answer
1k
views
Getting libarchive not found error while trying to publish to shinyapp
I have an rmd file with plots and I am trying to publish the .rmd file into my dedicated server. The process starts but then fails all of a sudden. I tried to google a solution but I cant seem to ...
4
votes
2
answers
2k
views
Shinyapp.io gives quartoinspect() when trying to publish Shiny App
Trying to publish my Shiny App through shinyapp.io. The app works fine locally. When trying to run deploy it I get the following error:
I don't have a Quarto document, nor do I know what they are. ...
3
votes
0
answers
159
views
Deploying a shiny app on shinyapps.io with a bitbucket repo dependency
Problem Definition
I have a shiny app that relies on a number of packages mainly from CRAN. Some of the packages have been installed from publicly available bitbucket repos eg:
devtools::...
0
votes
0
answers
134
views
ggiraph y-axis alignment issue when changing fonts
I'm using ggiraph to plot my ggplot object in my shiny dashboard that I deploy on shinyapps.io. My dashboard works well locally, but the font change that happens as a result of deploying on shinyapps....
1
vote
1
answer
151
views
In-line MathJax equations not rendering on Shiny app hosted at shinyapps.io
I have a shiny app that includes MathJax equations and some script to allow for in-line equations. It works fine the RStudio IDE but not when hosted on shinyapps.io.
I have narrowed down interference ...
0
votes
1
answer
69
views
R Shiny export buttons that export from another column
I have a table that has NA values in certain columns. In a Shiny app, I would like export buttons below each column that report values from another column that correspond to NA in the selected column.
...
0
votes
0
answers
49
views
Problem trying to publish a plot into shinyapps.io
I am having some problems publishing my shinny app online which consists of a fairly simple plot. The entire r code I have tried is the following:
library(ggtext)
library(dplyr)
library(ggplot2)
...
0
votes
0
answers
55
views
R Shiny not deploying correctly on Shiny Apps
I'm building this Shiny app that perfectly works fine inside R Studio, but once is published on Shiny Apps, it does not work.
The app should predict a second word based on a first one, using bi grams. ...
0
votes
1
answer
628
views
html file issues deploying R shiny app to shinyapps.io
I wrote my first R Shiny app for a work project and am now attempting to deploy it to shinyapps.io. It works fine on its own when launched from RStudio and works fine when downloaded from my GitHub ...
0
votes
1
answer
428
views
Error deploying Shiny app on shinyapps.io - Failed to determine "appPrimaryDoc"
Tried to Deploy Shiny app to shinyapps.io but encounter this message. What should I do?
── Preparing for deployment ────────────────────────────────────────────────────
✔ Deploying "R-shiny-...
0
votes
0
answers
68
views
R Shiny app runs fine in R Studio but looks different when deployed to server
I'm new to the R Shiny app but after a lot of effort, I wrote an app that looks and runs fine when tested using R Studio. It looks like the following (that is how I expect it to look, for example, ...
1
vote
0
answers
271
views
How to solve "HTTP/2 stream 1 was not closed cleanly before end of the underlying stream" error in shinnyapps.io?
I have an app deployed in shinnyapps.io, which mines data using the bold R package.
However, I am getting the following error appearing in the logs for my app:
2024-01-24T11:05:27.044583+00:00 ...
1
vote
1
answer
254
views
Authorize shiny apps application via oauth browser flow
I am trying to deploy a shiny app with oauth authorization to shinyapps.io. I have created a simple template app for illustration (see below). I am able to deploy and launch the app. However, the ...
1
vote
1
answer
66
views
Use multiple locales in R ShinyApp deployed to shinyapps.io
I've built an app where users have the option to generate reports in English, Spanish, and Portuguese. The reports have a time stamp at the top that relies on Sys.setlocale and format to translate and ...
0
votes
1
answer
67
views
Shiny app with mp4 movie runs locally, but not on shinyapps.io
Consider the following minimal reprex:
library(shiny)
library(stringr)
library(av)
ui <- fluidPage(
sidebarPanel(
actionButton('movie_run', "Let's Go!")
),
...
1
vote
0
answers
62
views
Deploying online shiny app depending on functions within the R folder (inside a package)
I have an R package called foo that is not uploaded on CRAN but hosted on Github. Within the package, I have, together with standard files and functions within the R/ folder, a shiny app within the ...
0
votes
0
answers
2k
views
How to solve "The application failed to start. exit status 1" error when deploying shiny apps to shinyapps.io?
So I am trying to deploy a shiny app, and although I have recently been able to deploy it without any problem (a few weeks ago), now I am getting a page that reads this error: An error has occurred ...
1
vote
0
answers
60
views
Could not open Chrome browser rselenium in shinyapps.io
I've been working on a Shiny app using RSelenium. Locally, everything works, but when I try to host it on shinyapps.io, I encounter an error:
"Connecting to remote server"
Could not open ...
0
votes
0
answers
44
views
Problem deploying my dashboard on shinyapps.io
I made a dataviz on r shiny but when I want to deploy with shinyapp.io I get errors (I think it's because my database is local on my RStudio).
But I don't know how to do this.
Thank you in advance for ...
0
votes
0
answers
32
views
When I published my app.R to https://www.shinyapps.io/ I get this error
I get this error:
The application failed to start. exit status 1
but in my local app.R is run and load pages without any error.
This is the log 2
I tried to install dependency packages, but that ...
0
votes
1
answer
158
views
Why I cannot get my shiny app when adding golem framework?
Why I cannot get my shiny app when adding golem framework?
I am managing nevertheless to get my shiny elements without any golem framework:
Here is the shiny without golem:
library(shiny)
# Define ...
0
votes
1
answer
513
views
shinyapps.io won't read environment variables from .Renviron
I have created a package containing a run_app function (which calls a Shiny app with runApp) and uploaded it to a private GitHub repository.
The package folder is like this:
project_name/
...
0
votes
2
answers
58
views
Access values returned by a reactive function without calling the function more than once
My problem is that I want to use the results of a reactive function more than once but this function takes a long time to return its result (a vector).
My code follows the structure below:
ui <- ...
1
vote
0
answers
78
views
Why does the map download not work on Shiny IO?
I have an issue with providing a download option in my Shiny application. The download button works fine locally. Once the application is exported to Shiny IO the download does not work anymore. On ...
0
votes
0
answers
37
views
'Next' action button won't click through images stored on local folder
I am new to shiny and trying to make an app which allows users to view images one by one. I have thousands of JPGs in a folder and I want to be able to display an image and allow a user to click a ...
-1
votes
1
answer
108
views
RShinyapps Deploy Fails with no error message
I'm deploying a shiny app to shinyapps.io using AWS Step Functions. It deploys successfully when I deploy using an EC2 instance spun up from an AMI, but does not deploy when I use the same AMI in AWS ...
2
votes
2
answers
348
views
Unable to re-publish Shiny app to ShinyApps.io
I have had a working and published shiny app for a couple of years now. I made some edits to the app (and also updated to the latest R and Rstudio) and it still runs perfectly in the Rstudio ...
2
votes
0
answers
163
views
How can I use package RSelenium in a Shiny app hosted on shinyapps.io?
Hello smart people of the internet,
I have written an app in R Shiny that uses the package RSelenium (and specifically, its rsDriver function). It works fine on my local machine. However, when I try ...
0
votes
0
answers
225
views
Loading an R shiny app but running into issues loading libraries
My shiny app utilizes the randomForestSRC library. It operates fine on my own PC and in my version of R, but I am trying to upload it to an online server space where I need to manually install my apps....
0
votes
1
answer
156
views
Deployed shinyApp which renders a pdf doesn't open
I have created a shiny app that takes user input and renders a pdf report. On my Windows laptop, it seems to run fine, but deploying it to shinyapps.io shows %PDF-1.5 %. how it runs locally
Here's the ...
-1
votes
1
answer
141
views
Using if else statements in a Shiny App in R
I'm trying to create a Shiny app, and I'm fairly new in the game of Shiny. I have figured out the UI, and I have read a good amount of Wickham's "Mastering Shiny". However, I have not found ...
1
vote
2
answers
174
views
Auth0 makes infinite tabs in chrome if i run my shinyapp
I wanted to implement a login system using Auth0, it was easy to use and configure but when I run the app locally or through port 8080, auth0 keeps opening millions of tabs and I have to shut it down, ...
0
votes
1
answer
191
views
Shiny Web App for Browser Audio Recording
Hello Stack Overflow community,
I'm working on a Shiny web application where I need to implement client-side audio recording directly from the user's browser. I've explored a couple of packages and ...