Semi-structured data can be stored as a collection in a NoSQL database ( MongoDB).Structured rectangular data can be stored as a table in a relational database or table-storage service ( SQLite, MySQL, Google Sheets).Arbitrary data can be stored as a file in some sort of a file system ( local file system, Dropbox, Amazon S3).This guide will explain seven methods for storing persistent data remotely with a Shiny app. On other occasions, you may use data that is too big to store locally with R in an efficient manner. It is designed to distribute your Shiny app across different servers, which means that if a file is saved during one session on some server, then loading the app again later will probably direct you to a different server where the previously saved file doesn’t exist. Shinyapps.io is a popular server for hosting Shiny apps. Functions like write.csv() and saveRDS() save data locally, but consider how shinyapps.io works. However, common methods of storing data from R may not work well with Shiny. Shiny apps often need to save data, either to load it back into a different session or to simply log some information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |