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

R shiny server: How to count number of users of my application

I am using R shiny-server open source version. I want to count the number of users of my application. This is my configuration file: # Instruct Shiny Server to run applications as the user "shiny" run_as shiny; # Define a server that listens on…
Cauchy
  • 1,677
  • 2
  • 21
  • 30
5
votes
1 answer

Shiny Server custom Handlebars.js templates

I'm not at all familiar with handlebars.js but I'd like to customize the directory index template that comes with Shiny Server. Specifically, what I'm looking to do is render a page of thumbnails of the different apps. The file…
Mark
  • 4,387
  • 2
  • 28
  • 48
5
votes
1 answer

R Shiny - No Such Index At Level 1

Trying to create a shiny app where the there is a plot and the selected points create a table with said points. Having some difficulty locating the source of my error, but have been able to narrow it down to these small…
Andrew Ferris
  • 123
  • 2
  • 11
5
votes
2 answers

Creating Shiny reactive variable that indicates which widget was last modified

Let's say we have a set of widgets each with their own input label. How do we create a reactive object whose value is the character that represents the input ID of the last widget that was modified? For example, if we have ui.R shinyUI(fluidPage( …
Bridgeburners
  • 637
  • 5
  • 15
5
votes
1 answer

Sending an attachment from Shiny

I have created an application using Shiny and uploaded to the server that belongs to shinyapps.io; I have tested it and all is fine. My application creates via the server.R a text file that I would like to send to my email when a user finishes…
Little
  • 3,363
  • 10
  • 45
  • 74
5
votes
1 answer

Drawing multiple polygons with leaflet in Shiny

I am struggling to draw multiple polygons in a Shiny app - based on leaflet package. Here is a non-app output that I wish for: data <- list( beam1 = data.frame(lat = c(-115,-125, -125, -115), lon = c(32, 32, 45,45)), beam2 = …
pitabread
  • 71
  • 1
  • 4
5
votes
1 answer

Running RStudio Shiny as a Docker container on AWS?

Has anybody looked into the possibility of running an instance of a RStudio Shiny server as a Docker container on the Amazon AWS cloud? I have seen a document specifying how to instantiate RStudio on a different cloud provider…
719016
  • 9,922
  • 20
  • 85
  • 158
5
votes
2 answers

Does packrat work on shiny server?

It seems weird to me that my shiny app runs fine when I run from Rstudio but same project, when ran on shiny server (open source), does not use packrat private library. I used .libPaths() to check and the private library does not show. Do I need to…
Xiushi Le
  • 245
  • 3
  • 16
5
votes
2 answers

Shiny app unstable at many simultaneous requests

I have built a quiz system using Shiny Server on Amazon Web Services. The system runs reliably when I tested it on one or two devices at home. However when I used it in the classroom with more than 10 students the system broke down. The questions…
user3819568
  • 170
  • 1
  • 8
5
votes
1 answer

Shiny + ggplot: How to subset reactive data object?

I am making a shiny app, that shows the user a ggplot after he selects the daterange he is interested in (= the range for the x-axis). So I guess I need to define a reactive data object (correct?). The ggplot has some subsetting in it. R tells me…
user3817704
  • 401
  • 1
  • 5
  • 12
5
votes
2 answers

R - How to set the path of install.packages() for shiny server ? - Ubuntu

For my system: Ubuntu 12.04 and R 3.03, whenever I install a custom package in R via >install.packages() the package is installed by default to /home/USER/R/x86_64-pc-linus-gnu-library/3.0/ as opposed to system-wide…
Soran
  • 391
  • 1
  • 4
  • 21
5
votes
2 answers

R - shiny server on Ubuntu

I'm fairly new to R, Shiny, Shiny Server and Ubuntu 12.04. After a long day I've got just about everything working except for actually having shiny-server host my app. I'm trying to host my app locally. This is my error: Error in library(ggplot2)…
Soran
  • 391
  • 1
  • 4
  • 21
5
votes
0 answers

Where to place custom css/js in Shiny App?

I have a Shiny app that I've been running locally which has custom css. I've placed this in the www dir together with the index.html file and this has been working smoothly. Now I've been deploying this app to a Shiny-server, and everything worked…
Johan
  • 689
  • 7
  • 17
5
votes
6 answers

Packages missing in shiny-server

I am trying to create a web application using shiny. It requires me to load a package I have installed on my computer. For example: ## Contents ui.R: library(shiny) library(plyr) shinyUI(pageWithSidebar( headerPanel("Hello Shiny!"), …
Sacha Epskamp
  • 46,463
  • 20
  • 113
  • 131
4
votes
0 answers

Change initial Shinyapps "Please wait" message

How can we change the initial "Please wait" message when an app starts up on shinyapps? I am referring to the startup message of shinyapps.io, not packages like Waiter or shinybusy (for example) because the initial message "Please wait" still…
John john
  • 437
  • 3
  • 13