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
6
votes
1 answer

auth tokens, local storage and meteor

We are running a web application (shiny-server, where coding is done in R) and want to add an authentication layer to it. Rather than building something to do this in R, I thought of using meteor to create auth tokens and all that. This is the way i…
oskbor
  • 1,592
  • 18
  • 35
5
votes
1 answer

Link to a local html file on RMarkdown with Shiny

I have an interactive RMarkdown document with shiny (i.e. with the line runtime: shiny in the YAML header) and inside it I would like to create a link to a local html file. But nothing I have tried so far works. For the sake of the example let's say…
5
votes
1 answer

Will Docker suffice for a Shiny app with ~100 connections or do I need Shiny Proxy?

I'm looking for a free and open source option for serving out a Shiny appl to ~100 of my students simultaneously. I tried to do this with Shiny Server Open and it throttled. Users got a message like Too Many Users Sorry, but this application has…
haff
  • 918
  • 2
  • 9
  • 20
5
votes
2 answers

What do I do when Shiny won't read my files?

My Shiny app works on my local computer, but when I upload it to the shinyapps.io server, I get an error message that says: Warning in gzfile(file, "rb") : cannot open compressed file './data/treemap_master.rds', probable reason 'No such file…
ethan tenison
  • 393
  • 3
  • 14
5
votes
2 answers

How do I get Shiny-server to working with Azure Active Directory

I am using Azure Webapps for Containers to host an R Shiny-Server. I want to use Azure Active Directory to authenticate and authorize the user logging into the app. I am using the rocker/shiny image from dockerhub and the image builds and run…
5
votes
0 answers

Shiny-server Laravel authentication

There are 2 applications on my server. One is a laravel application with login etc, and the other one is a shiny server with some shiny apps. The apps are created through my laravel system and in the database is stored who has access to a shiny…
5
votes
3 answers

RStudio Connect, Packrat, and custom packages in local repos

We have recently got RStudio Connect in my office. For our work, we have made custom packages, which we have updated amongst ourselves by opening the project and build+reloading. I understand the only way I can get our custom packages to work…
T.Holme
  • 473
  • 4
  • 17
5
votes
1 answer

How to update data in shiny app periodically?

I have deployed shiny server with several shiny apps. Each app is used as online dashboard which should be refreshed periodically (e.g. every 2 hours or at 10pm every day) according to my plan. Now the server code for each application looks like…
NRJ
  • 148
  • 2
  • 8
5
votes
1 answer

Host shiny app on Windows

First of all my question is very related to How to host Shiny apps on windows server? But, it seems that i need some more reputation to comment in other posts.... My problem/question: I have a shiny app that i want to deploy and make available for…
GiannisZ
  • 153
  • 5
5
votes
2 answers

Is there a unique session id/ session key assigned to each shinyR session?

Is there a session id/ session key assigned to each shiny session (if deployed on a shiny server)? If yes, how do I access the info? I have read the documentation here and looked online, however, could not really find the answer to my questions. Any…
mizzlosis
  • 515
  • 1
  • 4
  • 17
5
votes
1 answer

Best practices in automated database queries in Shiny

As I am new to developing with Shiny, I am interested in the best practices for automated database queries. At the time of writing there are a number of different sources with different information. If I am to query my postgres database every 10…
iskandarblue
  • 7,208
  • 15
  • 60
  • 130
5
votes
1 answer

Render or download animated GIF on Shiny

I intend to make a Shiny app where the user uploads a file with location data and the app returns an animated gif that displays these location data (after having done some calculations as well). It all works well when the app is run locally on my…
Ellesar1
  • 51
  • 1
  • 2
5
votes
1 answer

Why does running shiny start two Rscript processes on windows when launching from cmd line?

When I start an R script that runs a shiny app from the cmd line, it appears to launch two instances of Rscript.exe? I can always kill the smaller of the two and the app continues to run? Can someone elaborate on what is actually going on behind the…
JasonAizkalns
  • 20,243
  • 8
  • 57
  • 116
5
votes
1 answer

R Shiny: How can I make multiple elements reactive in add/remove button context?

I am creating a shiny app such that when I click on add or remove button, multiple reactive elements are affected. I have simplified significantly what I am trying to do below. Basically, we get selectInput() and textInput() boxes side-by-side,…
Sean Sinykin
  • 542
  • 4
  • 22
5
votes
1 answer

Download text and generate txt file in Shiny

I am looking for a way to download text displayed on an app by generation a .txt file. Here is my attempt, with no success unfortunately: library(shiny) ui <- fluidPage( sidebarPanel( h4("Title"), p("Subtitle", …
MaxPlank
  • 185
  • 2
  • 13