Learn R Programming

stringfish (version 0.16.0)

materialize: materialize

Description

Materializes an alt-rep object

Usage

materialize(x)

Value

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.

Examples

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

Run the code above in your browser using DataLab