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
2 answers

Is there a way to call a function on closing the server process in shiny?

I have a shiny application in which I am making some connections to databases and other components. I wish to close these connections when the app is brought down. Is there a way to execute a function when the shiny app is closed?
Avinash
  • 2,521
  • 4
  • 21
  • 35
4
votes
2 answers

Reading javascript variable into shiny/R on app load

What I want to do is get the user ID from a wordpress logged-in user when I load a shiny app in an iframe. This variable could then be used to save and modify user-specific data. I have gotten some of the way by adding the following code to the…
Jan Stanstrup
  • 1,152
  • 11
  • 28
4
votes
1 answer

Trouble installing shiny dependencies on ubtuntu 12.04 to host apps on shiny-server.

When I go to my app address for a simple histogram app I get the following error: An error has occurred The application failed to start. The application exited during initialization. Error in eval(expr, envir, enclos) : The Shiny package was not…
cylondude
  • 1,816
  • 1
  • 22
  • 55
4
votes
0 answers

Thousands Separator in R/Shiny DataTables

I have a DataTable that is displaying perfectly in my Shiny application except for the thousands separator, which is not displaying at all. I figured it would use a comma by default, but when it was not showing I tried to specify it using oLanguage…
bkauder
  • 123
  • 1
  • 9
4
votes
1 answer

Shiny Server on NGINX with SSL

I have a Shiny Server, R 'shiny' package v7.0, NGINX and 3rd party SSL certificate set up on Ubuntu 12.04 64bit system. Everything worked fine when using http, but after I set up a SSL reverse proxy with NGINX - the server.R files stopped working -…
user2922021
4
votes
1 answer

Operation not allowed without an active reactive context

I'm trying to build dataset dynamically from the database for R. Below is the code I used for the same but I'm getting error while running it. App is running in shiny. query <- "select * from rdataset" # [col-2]dataset name [col-3]Query qresult<-…
4
votes
2 answers

Error in grobToDev.default(gTree, dev)

I am trying to build a app with shiny+gridSVG. This problem happened constantly and I have no idea about it. My server.R: library(grid) library(lattice) library(gridSVG) shinyServer(function(input, output) { data = reactive({ inFile =…
Shawn Xiong
  • 470
  • 3
  • 14
3
votes
1 answer

When changing input Shiny throws Warning: Error in : Can't extract columns that don't exist

I have a dashboard where user can upload an .xlsx file and then select columns. Moreover, you can select another column from global variable. If the 2nd column's values don't match to first column, then the cells of 2nd column's row get highlighted.…
WannabeSmith
  • 435
  • 4
  • 18
3
votes
2 answers

Shiny if else statement

I am having problems using conditional statements in Shiny. I want the user select number of variable. If choose 1 variable then plot chart of 1 variable (ex density plot), if choose 2 variable then plot chart of 2 variables (ex scatter plot). I…
Kevin_Nguyen
  • 112
  • 6
3
votes
1 answer

Error in make.unique: 'names' must be a character vector when switching tabsetPanel in shiny

In the example below I get following error many times printed when switching back and forth between radio buttons iris and About- Warning: Error in make.unique: 'names' must be a character vector [No stack trace available] I have looked for the…
AOE_player
  • 536
  • 2
  • 11
3
votes
0 answers

R Shiny-Server Open Source Load Balancing with nginx

I have installed shiny-server open source on my AWS Lightsail instance and I have been trying on some few apps as per orthodox methods and they all work seamlessly. As I am planning further to extend my user base, I might be facing a problem with…
3
votes
1 answer

How to hide or display charts in shiny dashboardBody based on radioGroupButton selection

I am trying to create this dashboard with following structure. It basic structure has 3 levels (Menu, sub Menu and radioGroupButton selection) SideBar: Menu1: has 2 sub menus (Sub Menu 1 and Sub Menu2) Menu2 has 2 sub menus (Sub Menu 3 and Sub…
3
votes
1 answer

Warning: Error in cat: argument 1 (type 'list') cannot be handled by 'cat' [No stack trace available] in R shiny webtool

Im developing shiny webtool for R functions to generate the indices results on the webtool. I have 6 R functions and i created 6 combinations in selectinput widget, where each combination is linked with the one R function each. The 6 R functions are…
3
votes
2 answers

Shiny Server on AWS Elastic Beanstalk with Docker

How is it possible to deploy a shiny app via Shiny Server in a Docker container deployed to Elastic Beanstalk? Theoretically it is possible to run R/Shiny (Server) on AWS Elastic Beanstalk with Docker containters. Unfortunately, I couldn't see any…
berkorbay
  • 443
  • 7
  • 22
3
votes
1 answer

Application logs to stdout with Shiny Server and Docker

I have a Docker container running a shiny app (Dockerfile here). Shiny server logs are output to stdout and application logs are written to /var/log/shiny-server. I'm deploying this container to AWS Fargate and logging applications only display…
Steven
  • 3,238
  • 21
  • 50