I have developed an R Flex dashboard with runtime: shiny. I am able to run it on my system, but when I click on open on the browser, it's not opening on any of the browsers, the error, I am getting is "recover page".
Related
I am trying to deploy a Shiny app via https://www.shinyapps.io, but am experiencing difficulty. Note: things work fine locally on my machine.
Specifically, my app calls one of my R packages and runs said package under the hood. The package prompts a user to input a FASTA file via base::file.choose().
My problem is similar to the one outlined here
Error when using file.choose() in Shiny Web App (deployed online)
Is there a simple way to solve this without having to use shiny::fileInput()? I don't want to have to change any of my package code.
My app is here: https://hacsim.shinyapps.io/hacsim-rshiny-app/
To reproduce the error I get, click "RUN SIMULATION", then navigate to "Sub interface" and click "Run". A pop-up window should appear. Instead the error
character(0)
Error: An error has occurred. Check your logs or contact the app author for clarification.
appears in the Result panel.
Any help is welcomed and greatly appreciated.
I am currently working developing a shiny app that process a lot of heavy bayesian models. We are facing the following problem:
Our app suddenly closes if we try to run it in the rstudio browser or google chrome but apparently it is not a code problem since we can run the app on internet explorer, anyone had ever faced such issue?
source code: https://rstudio.cloud/project/413282
If we just run shiny::runApp() it opens a new window with the app, after 3 min (aprox) the new window closes but according to the console it is still running with no errors
I am using the Academic theme with Blogdown. When I use the blogdown:::serve_site() function, it seems to only serve the mobile version of my site (large font, single column, mobile-first). I tried refreshing the browser after hitting "Show in new window" in RStudio, but it still keeps the mobile version. Sometimes, if I maximize the viewer pane in RStudio I can get a sort of hybrid version, where the site has columns but still some mobile features (large text). Is there a way to default to a web browser in blogdown:::serve_site()? Is this an issue with the site itself?
Whenever I run any Shiny app in Google Chrome with launch.browser = TRUE, if there are already no tabs open in Chrome, the app will come up dead (see screenshot below). However, if I have a tab open already, the app loads and runs fine. This is not an issue with Internet Explorer, only with Chrome. However I need to use Chrome for my app because it supports editing a D3 table object, whereas IE does not.
Here is a simple Shiny app in case you would like to test something out with it, but again this happens with every Shiny app I try to run in Chrome.
I'm using R 3.2 and Rstudio 0.98.953
Just installed shinyapps and shiny, and the RUN APP button showed up (some people say it will only appear in preview version of Rstudio 0.99)
But the RUN and SOURCE botton disappeared. Any way I can get them back? Thanks!
Is the currently open file a file in a Shiny app? If RStudio detects that you're in a Shiny app (the file you're viewing is ui.R or server.R or app.R etc.) then it automatically lets you run the shiny app instead of "run the code" because that's the correct thing to do. When you switch to a different file that's outside of a shiny folder, it should go back to normal.
If you're not inside a Shiny app and it's showing "Run App", then you should file a bug with RStudio