Shiny App - Multiple Simultaneous User Access - r

Im building a dashboard with R Shiny (shinydashboard package).
After I deploy the application, i try to access it with two different systems using the remote machine's ip. I upload a file on one system, which runs perfectly. But as soon as i upload a different file on the other system, both the instances crash.
Is there anyway I can do an analysis of two different data sets simultaneously on different systems?

Related

Is it possible to share a local R/Shiny app but prevent access to its source code?

Let's imagine you want to share a shiny app not remotely (i.e. without using shinyapps.io or a Shiny Server on the web - which may occur due to security issues), therefore you may need to "locally" share your app files (using DesktopDeployR for instance).
Is there a way to protect app source code from being read?

To save data generated in a R shiny app in a .csv file in Amazon S3 bucket

I have a working R shiny app which is being hosted from our internal org Amazon AWS server. Now, Users will generate data on that Shiny app using different widgets provided there. Now, I need to save all the data generated in one session into a file that is stored in our internal Amazon S3 bucket.
The possible challenge that we are facing is how to save these data when multiple users could generate data using that Shiny App and then need to be saved and reloaded back to the Shiny app further if needed.
We just can't lose any data even if two users simultaneously add data using the Shiny App.
Please guide what could be our best approach.
I did follow the guideline provided here :
https://deanattali.com/blog/shiny-persistent-data-storage/
But, is there a way where we don't need to create as many .csv files as we have a number of users accessing the app.

How to allow multiple concurrent users for r shiny app within local network

I built an R shiny app for my coworkers to use inside the company. They don't know anything about R and there is no way that I ask all of them to install R on their own machine. Therefore, I tried code:
runApp(appDir = appdir,host="0.0.0.0", port = 5295)
This successfully allow my coworkers to use the app. However, when multiple people use it at the same time, there will be interruptions. Is there a way to solve this problem besides spending money to get a R/Shiny server?

How can I publish an R Markdown Shiny Dashboard privately?

So for context, I have created a dashboard using Rstudio by using flexfdashboard. I is an R Markdown Shiny app with ui and source code all within the same file.
Data sources for this app are large, locally saved documents in. Txt and. Csv format, with sizes ranging from a few kilobytes to several gigabytes.
I am to present this work to my CEO but I will not have access to my current computer and so ideally would host my dashboard somewhere and simply load the dashboard in browser.
However, the datasets contain sensative customer information and so privacy or controlled access to all assets is essential, ruling out most 3rd party solutions.
Is there a simple method to achieve this that im missing, or will I have to just run it from a local machine?
Thanks

Deploy Shiny app that can read files from local computer (no possible Data-based solution)

I am trying to deploy a Shiny app on shinyapps, but it is not possible to read and write local files from the computer of the user. The idea is that every user can upload some datasets and images given a local path where this input is stored, not to have a same series of inputs for everyone stored in a ´Data´ folder.
I know there are other options to deploy shiny apps (amazon, shiny server), but I am afraid I will find the same kind of problems. Before losing too much time trying other approaches, I would like to know if there is any way to deploy a shiny app that can read these inputs given a local path and, if not, if there is an easy way to prepare an online app that can do this trasnlating from a shiny-based one. If not, I guess I will have to leave my app as a normal R package.
Thank you in advance.

Resources