materialize: materialize

View source: R/RcppExports.R

materializeR Documentation

materialize

Description

Materializes an alt-rep object

Usage

materialize(x)

Arguments

x

An alt-rep object

Details

Materializes any alt-rep object and then returns it. Note: the object is materialized regardless of whether the return value is assigned to a variable.

Value

x

Examples

if(getRversion() >= "3.5.0") {
x <- sf_vector(10)
sf_assign(x, 1, "hello world")
sf_assign(x, 2, "another string")
x <- materialize(x)
}

stringfish documentation built on May 31, 2023, 5:19 p.m.