Where is data stored when deploying a Shiny app on RStudio Connect?

shiny
rstudioconnect

#1

Where is data stored when deploying a Shiny app on RStudio Connect?"
Can someone show me the flow of how connect publish and get data for the shiny?

Thanks,
Oscar


#2

RStudio Connect stores internal data in a combination of database (either SQLite or PostGres) and the file system. However, these locations are meant for internal storage only.

If you want to deploy a Shiny App or RMarkdown (or any other content) you should create your own shared locations for data. This can be either:

  • a shared file location on the server
  • a file location on shared network storage
  • external storage, e.g. Amazon S3 or Azure blob store
  • a database

If the amount of data you have is small, e.g. a small csv file, you can upload this with your app, but it will not be available to other apps.

You can find some best practises in the following material:


#3

Okay got it. Thanks Andrie.