| compute.disk.frame {disk.frame} | R Documentation |
Perform the computation; same as calling cmap without .f and lazy = FALSE
## S3 method for class 'disk.frame'
compute(
x,
name,
outdir = tempfile("tmp_df_", fileext = ".df"),
overwrite = TRUE,
...
)
x |
a disk.frame |
name |
Not used. Kept for compatibility with dplyr |
outdir |
the output directory |
overwrite |
whether to overwrite or not |
... |
Not used. Kept for dplyr compatibility |
cars.df = as.disk.frame(cars) cars.df2 = cars.df %>% cmap(~.x) # the computation is performed and the data is now stored elsewhere cars.df3 = compute(cars.df2) # clean up delete(cars.df) delete(cars.df3)