powered by
Select rows by position
slice(.data, ...)
A data.frame with the selected rows.
A vectra_node object.
vectra_node
Integer row indices (positive or negative).
f <- tempfile(fileext = ".vtr") write_vtr(mtcars, f) tbl(f) |> slice(1, 3, 5) unlink(f)
Run the code above in your browser using DataLab