Example folder structure of the folder “my_app”:
my_app | |-- app.R |-- saved_corporaexplorerobject.rds
Where “app.R” contains this code:
The folder “my_app” is now ready to be hosted on a Shiny Server or be uploaded to shinyapps.io.
Tip 1: use the settings in the
plot_options argument in
explore() to fine-tune the appearance of the plots in the app.
Tip 2: to make the data load faster (at the cost of occupying more disk space), save the corporaexplorerobject created by
prepare_data() uncompressed by setting
compress = FALSE in
Example (assuming you start with a data frame called df):