Skip to contents

Like data_ptr() but attempts read-only access first (for ALTREP support). If the ALTREP implementation doesn't provide direct access, falls back to materializing the data (which may allocate memory).

Usage

data_ptr_ro(x)

Arguments

x

An R vector

Value

External pointer to the data