Learn R Programming

proffer (version 0.1.6)

pprof_path: Show the path to the pprof executable.

Description

Defaults to the PROFFER_PPROF_BIN environment variable. Otherwise, it searches your Go lang installation for pprof.

Usage

pprof_path()

Arguments

Value

Character, path to pprof it exists and "" otherwise.

Details

See https://github.com/r-prof/proffer#installation for setup instructions.

Examples

Run this code
if (identical(Sys.getenv("PROFFER_EXAMPLES"), "true")) {
pprof_path()
}

Run the code above in your browser using DataLab