Skip to contents

Return an object name as a string.

Usage

obj_to_string(x)

Arguments

x

An R object

Value

A character single value with the name of the R object.

Examples


x <- rnorm(100)

obj_to_string(x)
#> [1] "x"