Where is data stored when deploying RShiny app via shinyapp.io? - r

I have built an RShiny app where I use a dataset so that the app can display plots. I have a privacy question about deploying this app. When I deploy the app via shinyapps.io, is the dataset then saved on an RShiny server? Or does it use the local datafile? If the latter is the case, should my computer be active then 24/7 for the app to work?

Related

how to deploy R Shiny app on Azure App Services with Azure Active Directory Integration

I'm using Microsoft azure service, In azure machine learning I'm using R Studio to create shiny web application. Everything works fine. But I want to deploy R Shiny app in Azure App services with the help of Azure Active Directory Authentication
What is the process to deploy R Shiny app in Azure App services?
There is a product called "RStudio Connect" which is RStudio's application server for Shiny apps. It can be deployed to Azure using via this Marketplace image. It is, however, quite costly and I am unsure of the AAD tie-in.

How to deploy shiny app in azure ml compute instances with shiny server

In Azure ML I have created compute instance and install RStudio application, I am able to create shiny app in RStudio. However, I need to host this shiny app in shiny server
Is there any possibility that I can host shiny app in shiny server in azure ML compute instance
We need to create virtual machine to deploy the shiny app to the shiny service in azure ML.
Directly from compute instance it is not possible to do so. Follow the below procedure to create the virtual machine and implement the procedure.
Log into the VM and follow the procedure mentioned in the link
Thank you canovasjm for the blog for support.

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 app.
Laravel is running on: <domain>:80 & <domain>:443
Shiny server is running on: <domain>:3838
What I want to achieve is that users have to be logged in in the laravel application and have access to the shiny app to be able to run the shiny app in the browser.
Is there a way to achieve this? And if yes, what is a good way to go?

Run R Shiny App on Apache Server

I have a Shiny app that I would like to run on an existing Apache server. I am completely new to servers and don't have much idea of where to start. Unfortunately most of the resources I've found online have been about NGINX and not Apache.
I know something like this is possible, but I am not sure how to start. How can I get started with hosting my own Shiny app on an Apache server?
So you don't run a Shiny app on Apache, Shiny Apps must be run on a Shiny Server. You have several options for deploying a Shiny app to your website. The simplest approach is to publish your app to shinyapps.io then add an IFrame to your website that will display your deployed Shiny app.
Since you have asked about how to run a Shiny App on Apache, I assume you want to deploy your own Shiny Server, which can be deployed on the same machine as your Apache server or on a different machine. Instructions for doing this may be found here: https://www.rstudio.com/products/shiny/download-server/
Once you shiny server is installed you will need to publish your app there. This is accomplished by moving your r files to the appropriate location on your Shiny Server. For details see: http://docs.rstudio.com/shiny-server/#host-a-directory-of-applications-1
Once you have done this and have your app running on Shiny Server, you need to set up Apache(Nginx or another webserver) to act as a proxy to Shiny Server. Here is a link that walks you through the steps: https://support.rstudio.com/hc/en-us/articles/213733868-Running-Shiny-Server-with-a-Proxy
If you have not done this before and do not have experience with Linux or servers, I would expect it to take at least 4 hours.
Apache can't run Shiny.
Alternatively, I suggest a nice and clear tutorial about running the R web app (aka Shiny) using Google cloud. Google cloud offers 300 USD free credit to any new user that I think is good for begninners.
https://www.theorsociety.com/media/3832/data-visualisation-workshop-uploading-a-shiny-app-to-a-server-_14062018122240.pdf

Develop a shiny app login locally

I want to develop a shiny app with login, which later should be hosted on Shinyapps.io (STANDARD).
How can I develope/debug the app locally without having Shiny Server Pro or uploading the app to Shinyapps.io every time.
Running the code displayed here.
I of course get the following message:
ERROR: This application is designed to be run in Shiny Server Pro and to require authentication.

Resources