Learn R Programming

shard (version 0.1.0)

view_info: Introspection for a view

Description

Returns metadata about a view without forcing materialization.

Usage

view_info(v)

Value

A named list with fields: dtype, dim, slice_dim, rows, cols, layout, fast_path, nbytes_est, and base_is_shared.

Arguments

v

A shard view.

Examples

Run this code
# \donttest{
m <- share(matrix(1:20, nrow = 4))
v <- view_block(m, cols = idx_range(1, 2))
view_info(v)
# }

Run the code above in your browser using DataLab