format_stream | R Documentation |
The format is set on the file objects inside the list so that the file
object can be used to call a write method. See write_stream()
.
format_stream(
x,
type = c("fst", "feather", "parquet", "qs", "rds"),
set_ext = TRUE,
warn = FALSE
)
x |
A |
type |
The file format type; if |
set_ext |
If |
warn |
If |
x
is returned with a new class attribute reflecting the expected output
format (fst
, feather
(arrow), parquet
(arrow), qs
or rds
).
format_is_set()
, locate_stream()
, ext_stream()
,
new_stream()
, file_stream()
, file_set()
fs <- new_stream(2)
fs <- format_stream(fs, "fst")
fs[[1]]
format_is_set(fs[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.