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

How to call a function once and then use the results multiple times

I am working on my shiny application and one of the thing I have to do is to call one function (which returns a list of objects) and then use the result of that in different multiple calls. Needless to say, I don't want to call the function multiple…
ashishkul
  • 405
  • 2
  • 6
  • 17
4
votes
1 answer

package ‘shinyapps’ is not available (for R version 3.3.0)

I've recently upgraded to R 3.3.0 and am trying to deploy a Shiny app via deployApp(), which comes from the package shinyapps. However, I ran into this issue: > install.packages("shinyapps") Warning in install.packages : package ‘shinyapps’ is…
warship
  • 2,924
  • 6
  • 39
  • 65
4
votes
1 answer

Proxy web socket in shiny server using Apache 2.4

I am using the shiny-server (latest version, 1.4.2.786) behind the Apache 2.4, Ubuntu 14.04. Following the instruction of online documentation (https://support.rstudio.com/hc/en-us/articles/213733868-Running-Shiny-Server-with-a-Proxy), I can setup…
Bangyou
  • 9,462
  • 16
  • 62
  • 94
4
votes
4 answers

Shiny-server does not show rmarkdown even in the example page (rmarkdown package installed)

I installed a shiny-server on Amazon AWS EC-2 (Amazon Linux AMI 2015.09.1 (HVM), SSD Volume Type - ami-60b6c60a). The server works fine for the Shiny apps, but does not render the .rmd, even the rmd from the example page. I only see this…
Diego Gaona
  • 498
  • 6
  • 24
4
votes
1 answer

Combine some shiny apps to one shiny dashboard

I have several shiny apps, and now I want to create a dashboard for these apps. I don't want to change the original apps.Just want to create another ui.R and server.R. And integrate the other apps into it. Like the following structure. #ui.R ui <-…
ysfseu
  • 666
  • 1
  • 10
  • 20
4
votes
1 answer

Embedding multiple shiny apps in single Rmarkdown file using "shinyAppDir" function

I have created several shiny apps to embed in single Rmarkdown file. I am using Amazon ec2 Ubuntu machine for hosting my shiny apps and rstudio. All the working apps are at /srv/shiny-server. To do this, I create another folder for Rmarkdown single…
Mithilesh Kumar
  • 256
  • 1
  • 3
  • 18
4
votes
1 answer

server.R undefined columns?

I'm trying to create a R Shiny app and have encountered the error: Error in `[.data.frame`(dataset.temp, , input$col) : undefined columns selected I'm not sure what's causing this, hopefully someone could help me figure it out. Here's a sample…
eyio
  • 337
  • 3
  • 14
4
votes
1 answer

Deploy an app on my own server without the port number in the address

I have set up my own server with R and shiny-server, and had already put some apps on that. However, all apps have a port number like the :3838 in blahblah.com:3838/app_name, which doesn't look very nice, if my future plan is to build an entire site…
Lytze
  • 755
  • 6
  • 12
4
votes
3 answers

Use multiple R Markdown files in Shiny tabs

I am building a Shiny App and I'd like to have multiple tabsets. The code I've got so far gives me that: shinyUI(navbarPage("OEI Grant", tabPanel("Part 1 - Organization", tabsetPanel("1.x", tabPanel("1.1"), …
Stefan Avey
  • 1,148
  • 12
  • 23
4
votes
1 answer

How to access the R+Shiny code for the applications on shinyapps.io?

I have found a very well-design shiny app on shinyapps.io website but I am not sure how to access its R code or say the github directory for its code. I find it very instructive if we could have access to its code. Anyways, in the worst case, can…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
4
votes
1 answer

How to load a folder of csv files in shiny

I have a folder of CSV files and i want to upload and access them as a list of files in shiny. I tried the following code to upload the files. server: output$sourced <- renderDataTable({ inFile <- input$file1 if…
Agaz Wani
  • 5,514
  • 8
  • 42
  • 62
4
votes
0 answers

Error while uploading app on shinyapps.io

I have created an app using shiny. It allows the user to upload a data set do calculations and visualization on it and then download the finished output in csv form. The app is running smoothly when run locally from my PC. However when I am trying…
Rajarshi Bhadra
  • 1,826
  • 6
  • 25
  • 41
4
votes
1 answer

Dynamic Input Selector Based on Uploaded Data

Thanks in advance for your help. I understand how to manipulate dynamic inputs based off of other inputs for pre-defined datasets. i.e. Load a car dataset. User selects Radio button to say they only want to look at blue cars. This changes the…
sbanders
  • 851
  • 1
  • 9
  • 19
4
votes
1 answer

How to use renderDataTable in Shinny R's file upload example

I am trying to create my first Shiny R application, which does two things: Display user uploaded CSV file Count user selected rows To achieve these features, I need to combine two examples file upload and row selection, which involves switching…
TTT
  • 4,354
  • 13
  • 73
  • 123
4
votes
1 answer

best practice on factoring out shiny code

I am in the processing of developing a fairly involved ShinyApp for interacting with data and just wondering what would be a good strategy to factor out code. Ideally having separate scripts for each tab etc and then glue them together in ui.R and…
Abhi
  • 6,075
  • 10
  • 41
  • 55