object_to_input: How to turn a object into a text representation/input

object_to_inputR Documentation

How to turn a object into a text representation/input

Description

This isn't a function—it's just a note to document something that I found to be very useful.

Just use dput(x). E.g., if x is c(1,2,3), then dput(x) is "c(1, 2, 3)". Thats it!


burchill/zplyr documentation built on Feb. 2, 2023, 11:01 a.m.