p_pause {dtrackr}R Documentation

Pause tracking the data frame.

Description

Pausing tracking of a data frame may be required if an operation is about to be performed that creates a lot of groupings or that you otherwise don't want to pollute the history graph (e.g. maybe selecting something using an anti-join). Once paused the history is not updated until a resume() is called, or when the data frame is ungrouped (if auto is enabled).

Usage

p_pause(.data, auto = FALSE)

Arguments

.data

a tracked dataframe

auto

if TRUE the tracking will resume automatically when the number of groups has fallen to a sensible level (default is FALSE)?

Value

the .data dataframe with history graph tracking paused

Examples

iris %>% track() %>% pause() %>% history()

[Package dtrackr version 0.4.4 Index]