Search code examples
rflexdashboard

How can I profile a full R flexdashboard app to see what might be taking the most time/memory?


Does anyone know how to profile a full flexdashboard app?

The profvis library looks promising but it appears to only support shiny apps.

What is the best way to profile a flexdashboard app based on Rmarkdown?

Thanks!
Melissa


Solution

  • You can use

    profvis::profvis(rmarkdown::run("flexdashboard.Rmd"))
    

    to start a flexdashboard app named flexdashboard.Rmd in the current working directory and profile its runtime behavior.