Details
Output is a data.table.
The function is deprecated, with the use of parquet tables. Tables can now
be loaded IN-memory or OUT of memory with dt_parquet
.
Examples
# Say you have a data.frame stored in an fst format, such as this one
df <- data.frame(a = 1:10)
path <- paste0(tempdir(), "/dtfstex")
dir.create(path)
fst::write_fst(x = df,
path = paste0(path, "/", "df.fst")
)
# Now you have a new session without df.
rm(df)
# You may import the file directly to data.table format with dt_fst
df <- dt_fst(path, "df")
#> Warning: `dt_fst()` was deprecated in vigicaen 0.12.0.
#> ℹ Please use `dt_parquet()` instead.
# Clean up (required for CRAN checks)
unlink(path, recursive = TRUE)