readProfileData: Read Rprof Profile Data

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/prof.R

Description

Reads in Rprof profile data for further processing.

Usage

1
2
readProfileData(filename = "Rprof.out")
readRStudioProfileCacheData()

Arguments

filename

Name of a file produced by Rprof()

Details

readProfileData reads the data in the file produced by Rprof into a data structure for processing by other functions. The details of the structure are subject to change.

readRStudioProfileCacheData returns the data for the most recent profiling run in the RStudio profile cache, or NULL if no data is available.

Value

R representation of Rprof data,

Author(s)

Luke Tierney

See Also

Rprof, summaryRprof, flatProfile, plotProfileCallGraph, printProfileCallGraph, profileCallGraph2Dot

Examples

1
2
3
pd <- readProfileData(system.file("samples", "glmEx.out", package="proftools"))
flatProfile(pd)
flatProfile(pd, FALSE)

ltierney/Rpkg-proftools documentation built on July 12, 2020, 5:21 p.m.