Learn R Programming

dtrackr (version 0.4.6)

p_pause: 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)

Value

the .data dataframe with history graph tracking paused

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)?

Examples

Run this code
iris %>% track() %>% pause() %>% history()

Run the code above in your browser using DataLab