| readProfileData {proftools} | R Documentation |
Reads in Rprof profile data for further processing.
readProfileData(filename = "Rprof.out")
filename |
Name of a file produced by Rprof() |
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.
R representation of Rprof data,
Luke Tierney
Rprof,
summaryRprof,
flatProfile,
plotProfileCallGraph,
printProfileCallGraph,
profileCallGraph2Dot
## Not run:
## Rprof() is not available on all platforms
Rprof(tmp <- tempfile())
example(glm)
Rprof()
flatProfile(readProfileData(tmp))
flatProfile(readProfileData(tmp), FALSE)
unlink(tmp)
## End(Not run)