Parse Rprof output file for use with profvis

Share:

Description

Parse Rprof output file for use with profvis

Usage

1
parse_rprof(path = "Rprof.out", expr_source = NULL)

Arguments

path

Path to the Rprof output file.

expr_source

If any source refs in the profiling output have an empty filename, that means they refer to code executed at the R console. This code can be captured and passed (as a string) as the expr_source argument.