Thin constructor wrapper around data.frame() that keeps fmalloc vectors as
column payloads.
Usage
create_fmalloc_data_frame(
...,
row.names = NULL,
check.names = TRUE,
stringsAsFactors = FALSE
)Examples
if (FALSE) { # \dontrun{
rt <- open_fmalloc(tempfile(fileext = ".bin"))
x <- create_fmalloc_vector("integer", 3, runtime = rt)
y <- create_fmalloc_vector("character", 3, runtime = rt)
x[] <- 1:3
y[] <- c("a", "b", "c")
df <- create_fmalloc_data_frame(x = x, y = y)
cleanup_fmalloc(rt)
} # }