I am working on an rmarkdown file that makes use of flexdashboard and shiny. I have to load in quite a few large .csv files and in general the starting up of the application is very slow.
I ready about the "global" chunk and applied this to my rmarkdown file. I also made sure to install the latest version of rmarkdown beforehand since the global chunk is new since version 1.1.
I moved the loading of my data into the global chunk, but nothing has changed in the startup time.
Previously I have used the profvis package on a shiny app to see where my performance issues were coming from, but in this case I am not sure about what I could do to investigate the issue.
The file I am working on is a commercial product of my company and so it is vital for us to improve performance in order to satisfy customer needs. I am aware that eventually, we might run into limitations when using flexdashboard and may have to use a full shiny app, but nonetheless I would like to know which options I have at the moment and how I can investigate where potential bottlenecks are.
All help is much appreciated!