Questions tagged [shiny-server]

Shiny Server provides a platform on which you can host multiple Shiny applications on a single server, each with their own URL or port.

Shiny Server is a server program that makes Shiny applications available over the web.

Using Shiny Server, you can host multiple Shiny applications, as well as static web content, on a Linux server and make them available over the internet. You can specify what applications are available at what URL, or configure Shiny Server to let anyone with a user account on the server deploy their own Shiny applications.

1655 questions
4
votes
0 answers

Calling global.R in an app.R file on shiny server; unable to call dataframes in for global use

I am developing a shiny app which is an exploratory data analysis tool. At this point, I am trying to optimise so that data is loaded in once but is readily available for all users. I am aware of the scoping materials on this i.e. Scoping I have the…
metaltoaster
  • 380
  • 2
  • 15
4
votes
1 answer

How does one terminate all processes upon Shiny app end?

I am using Shiny with a local server installed. My Shiny app runs a heavy local program using system/system2/processx::run. I am running it synchronously (wait=T). If the user closes the browser window of the Shiny, I would love the heavy program to…
Sam
  • 127
  • 10
4
votes
2 answers

Using input$ to call the dataset

Suppose I have 2 columns in my dataset, and I want to output out a histogram and summary depending on which column we are on, currently I have 2 if statements per output checking what the input is equal to. ui <- fluidPage( titlePanel("First…
Wallace
  • 340
  • 1
  • 3
  • 9
4
votes
1 answer

Shiny: App looks different when published

I have written the code for an app that looks perfect when I run the app in R. See how clear the input choices and spacing is: However, when I publish the app on the "Shiny Cloud", it looks like this: Notice how everything is bunched up, and the…
NewBee
  • 990
  • 1
  • 7
  • 26
4
votes
0 answers

Use leafsync and leafletProxy together on shiny map

I'm trying to show two synced maps on a shiny app that show densities of species in two different samples based on inputs species and year. I have it working using leafsync, but not set up to use leaflet proxies, so every time I change an input, the…
Jake L
  • 987
  • 9
  • 21
4
votes
1 answer

Run Shiny-server on different port than 3838

I am deploying Shiny-server in container. By default Shiny-server listens on port 3838, here is piece from shiny-server.conf # Instruct Shiny Server to run applications as the user "shiny" run_as shiny; # Define a server that listens on port…
user1700890
  • 7,144
  • 18
  • 87
  • 183
4
votes
0 answers

Shinyapp: How to avoid overcharge on paid account

I just paid for a yearly starter plan on Shinyapps.io and noticed that I will get overcharged if I exceed the active monthly hours (100h). I am very worried because a lot of people may use my app and will likely exceed that amount. Is there a way to…
mat
  • 2,412
  • 5
  • 31
  • 69
4
votes
1 answer

Are shiny server's ShinyApps files safe from intruders?

In the case of shiny apps published on a private networks using Shiny Server: are the files in the project folder and subfolders (such as www and/or data) vulnerable to be accesible to an external user that has access to said private network, after…
David Jorquera
  • 2,046
  • 12
  • 35
4
votes
1 answer

Disconnected from the (shiny) server: cause of large Plotly R heatmaps

I'm developing quite a complex shiny app that runs on a private shinyserver. Only the pages that contains large plotly heatmaps (50-70Mb) are not working online (but the pages are working perfectly on my local machine). What I get is the usual…
Luka
  • 43
  • 6
4
votes
1 answer

How to find error logs when my dockerized shiny app does not work

I'm trying to put my shiny app in docker container. My shiny app works totally fine on my local computer. But after dockerize my shiny app, I always have error message on my localhost like The application failed to start. The application exited…
zesla
  • 11,155
  • 16
  • 82
  • 147
4
votes
1 answer

Error: package ‘digest’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version

I am hosting my shiny app on a Ubuntu 16.04 server in which I have also installed RStudio server. The welcome page of the shiny server can be accessed successfully with the demo-app on localhost:3838. But when I try to run a simple app (default…
Jovan Yah
  • 41
  • 5
4
votes
1 answer

Shiny Server - problem hosting an additional app

I currently have a live website that hosts one app at the moment through shiny server. I've been trying for some time to figure out how to host an additional app as an extension of the domain. If my website is "www.mywebsite.com", which hosts the…
fromtheloam
  • 435
  • 2
  • 12
4
votes
1 answer

What is SockJSAdapter and why it is running endlessly

I have a Shiny-app hosted in Ubuntu, attached is the current snapshot of processes running As you see a significant chunk of memory is being consumed by something called SockJSAdapter which is related to Shiny-server. I have noticed that this…
Bogaso
  • 2,838
  • 3
  • 24
  • 54
4
votes
0 answers

Rendering knitr pdf from Shiny Server - Server Side adds excessive outer margins to plots

I have an application depicting data on public financing, and the user can generate a pdf report of the data. This Shiny app is developed locally and is deployed onto a Shiny Server running ubuntu 16.04. The code is fully operational in the sense…
JDG
  • 1,342
  • 8
  • 18
4
votes
0 answers

Preloaded Shiny Server Apps work fine however own apps failing to start?

Working on deploying a Shiny App on my own domain through a Digital Ocean. After completing all the installation procedures I can access the :3838 port fine and that is displaying the welcome to shiny server page just fine, as well as the…