knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
This project has been archived, because CRAN doesn't seem to support Go on their infrastructure. The (jointprof) package contains a function that helps discovering the pprof
utility which this project packages.
This is the pprof tool for visualization and analysis of profiling data, wrapped as an R package. It exports a single function which returns the path to the executable file.
The pprof
binary can also be installed via go get github.com/google/pprof
. However, some operating systems have an incompatible version of pprof
on the PATH
by default. This R package offers an easy-to-use robust alternative.
You can install pprof from GitHub with:
# install.packages("devtools") devtools::install_github("r-prof/r-pprof")
invisible(processx::run( pprof::get_pprof_pkg_path(), "-help", echo = TRUE, error_on_status = FALSE ))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.