Skip to content

Instantly share code, notes, and snippets.

@remlapmot
Created August 15, 2022 17:48
Show Gist options
  • Save remlapmot/0c6405215e4dda2a6ab5df1238446685 to your computer and use it in GitHub Desktop.
Save remlapmot/0c6405215e4dda2a6ab5df1238446685 to your computer and use it in GitHub Desktop.
2 ways of profiling R code
# profvis
library(profvis)
profvis({
rmarkdown::render("practical.Rmd")
})
# Rprof()
Rprof()
rmarkdown::render("practical.Rmd")
Rprof(NULL)
summaryRprof()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment