Description Usage Arguments Value Examples
Open the specified MemoryTracker database file, and read the specified
table name info a dataframe. If lbl
is non-NULL, the returned
dataframe will contain a column named lbl
, containing the
user-supplied label. The intent is that this label allows many such
dataframes, each with a distinct label, to be concatenated with
dplyr::rbind_list
or rbind
, and used for comparitive analysis.
Consult the MemoryTracker documentation for a list of the tables that
are available.
1 | load_memory_use(filename, tablename, lbl = NULL)
|
filename |
The name of the MemoryTracker data file to open. |
tablename |
The name of the table to be read. |
lbl |
The label to be applied to each row in the dataframe; default is NULL. |
a dataframe
1 2 3 4 5 6 7 | ## Not run:
d1 <- load_memory_use("woof/memory.db", "ModuleInfo", "woof")
d2 <- load_memory_use("woof/memory.db", "EventInfo")
d3 <- load_memory_use("woof/memory.db", "OtherInfo")
d4 <- load_memory_use("woof/memory.db", "PeakUsage")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.