readProfileData {proftools}R Documentation

Read Rprof Profile Data

Description

Reads in Rprof profile data for further processing.

Usage

readProfileData(filename = "Rprof.out")

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.

Value

R representation of Rprof data,

Author(s)

Luke Tierney

See Also

Rprof, summaryRprof, flatProfile, plotProfileCallGraph, printProfileCallGraph, profileCallGraph2Dot

Examples

## 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)

[Package proftools version 0.0-2 Index]