readRprofmem: Read an Rprofmem log file

Description Usage Arguments Value References

Description

Reads and parses an Rprofmem log file that was created by Rprofmem().

Usage

1
readRprofmem(pathname, as = c("Rprofmem", "fixed", "raw"), drop = 0L, ...)

Arguments

pathname

The Rprofmem log file to be read.

as

Specifies in what format data should be returned. If "raw", the line content of the file is returned as is (as a character vector). If "fixed", as "raw" but with missing newlines added to lines with empty stack calls (see [1]). If "Rprofmem", the collected Rprofmem data is fully parsed into bytes and call stack information.

drop

Number of levels to drop from the top of the call stack.

...

Not used

Value

An Rprofmem data.frame (or a character vector)

References

[1] https://github.com/HenrikBengtsson/Wishlist-for-R/issues/25



Search within the profmem package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.