powered by
Returns metadata about a view without forcing materialization.
view_info(v)
A named list with fields: dtype, dim, slice_dim, rows, cols, layout, fast_path, nbytes_est, and base_is_shared.
dtype
dim
slice_dim
rows
cols
layout
fast_path
nbytes_est
base_is_shared
A shard view.
# \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