objectToText: Convert R Object to Text Representation

View source: R/objectToText.R View source: R/model.R

objectToTextR Documentation

Convert R Object to Text Representation

Description

Convert R Object to Text Representation

Usage

objectToText(x)

Arguments

x

R object

Value

vector of character representing the R code that reproduces the object x

Examples

objectToText(1:10)
objectToText((1:10)[-5])
cat(objectToText(head(iris)))

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.