| collect | R Documentation |
Pulls all batches from the execution plan and materializes the result as an R data.frame.
collect(x, ...)
x |
A |
... |
Ignored. |
A data.frame with the query results.
f <- tempfile(fileext = ".vtr")
write_vtr(mtcars, f)
result <- tbl(f) |> collect()
head(result)
unlink(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.