view_info: Introspection for a view

View source: R/views.R

view_infoR Documentation

Introspection for a view

Description

Returns metadata about a view without forcing materialization.

Usage

view_info(v)

Arguments

v

A shard view.

Value

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

Examples


m <- share(matrix(1:20, nrow = 4))
v <- view_block(m, cols = idx_range(1, 2))
view_info(v)


shard documentation built on April 3, 2026, 9:08 a.m.