as.ram2: as.ram2 wrapper for ff:as.ram that also deletes the...

View source: R/utils-ff.R

as.ram2R Documentation

as.ram2 wrapper for ff:as.ram that also deletes the underlying ff/ffdf to reduce temp space

Description

as.ram2 wrapper for ff:as.ram that also deletes the underlying ff/ffdf to reduce temp space

Usage

as.ram2(obj)

Arguments

obj

ff/ffdf object to be loaded to ram and deleted

Value

a data.table

Examples

library(ff)
library(tessilake)

test <- ff(1:5)
file.exists(filename(test)) # TRUE
test.ram <- as.ram2(test)
file.exists(filename(test)) # FALSE


skysyzygy/tessilake documentation built on June 14, 2025, 6:50 p.m.