writeRprof: Write profile data

Description Usage Arguments Details Value Note Author(s) References Examples

View source: R/readRprof.R

Description

Write a profile data file from a sprof data structure.

Usage

1
writeRprof(sprof, filename = "Rprof.Out")

Arguments

sprof

a data structure from package sprof

filename

The file to be used for exporting the profiling results.

Details

writeRprof only writes the stack entries for the profile.

This can be used to export information after preprocessing with sprof to some package designed for Rprof output.

Value

An invisble list with the profile entries, headers removed.

Note

See the vignette for in-context explanations.

Displays of the graph structure are given in the vignette.

Author(s)

Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>

References

http://sintro.r-forge.r-project.org/

Examples

1
2
3
4
5
## Not run: 
	data(sprof01lm)
	writeRprof(sprof01lm)

## End(Not run)

sprof documentation built on May 2, 2019, 4:45 p.m.