Read an Rprofmem log file

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.