我如何分析完整的 R flexdashboard 应用程序以查看可能占用最多的内容 time/memory?

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

有谁知道如何分析完整的 flexdashboard 应用程序?

profvis library 看起来很有前途,但它似乎只支持闪亮的应用程序。

基于 Rmarkdown 分析 flexdashboard 应用程序的最佳方式是什么?

谢谢!
梅丽莎

您可以使用

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

在当前工作目录中启动名为 flexdashboard.Rmd 的 flexdashboard 应用程序并分析其运行时行为。