Skip to contents

Convert Text Representation Back to R Object

Usage

textToObject(x)

Arguments

x

vector of character as returned by objectToText

Value

R object

Examples

textToObject("c(1:10)")
#>  [1]  1  2  3  4  5  6  7  8  9 10
stopifnot(identical(iris, textToObject(objectToText(iris))))