inv_gc: Run invisible garbage collection

Description Usage Arguments Examples

View source: R/inv_gc.R

Description

Run garbage collection without the 'gc()' output. Can also be run in the middle of a long pipe chain. Useful for large datasets.

Usage

1
inv_gc(.data = NULL)

Arguments

.data

Optional. If null runs 'gc()' silently. Else returns the same object unaltered.

Examples

1
2
3
4
5
inv_gc()

df %>%
  inv_gc() %>%
  select(col1, col2)

mtfairbanks/gts documentation built on Feb. 12, 2020, 1:22 p.m.