readProfileData {proftools} | R Documentation |
Read Rprof Profile Data
Description
Reads in Rprof profile data for further processing.
Usage
readProfileData(filename = "Rprof.out")
readRStudioProfileCacheData()
Arguments
filename |
Name of a file produced by |
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
pd <- readProfileData(system.file("samples", "glmEx.out", package="proftools"))
flatProfile(pd)
flatProfile(pd, FALSE)
[Package proftools version 0.99-3 Index]