Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

inv_gc

Run invisible garbage collection


Description

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

Usage

inv_gc(x)

Arguments

x

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

Examples

# Can be run with no input
inv_gc()

df <- tidytable(col1 = 1, col2 = 2)

# Or can be used in the middle of a pipe chain (object is unaltered)
df %>%
  filter.(col1 < 2, col2 < 4) %>%
  inv_gc() %>%
  select.(col1)

tidytable

Tidy Interface to 'data.table'

v0.6.1
MIT + file LICENSE
Authors
Mark Fairbanks [aut, cre], Abdessabour Moutik [ctb], Matt Carlson [ctb], Ivan Leung [ctb], Ross Kennedy [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.