vectorCode: Print Vector to Console as R Code

Description Usage Arguments Author(s) Examples

View source: R/vectorCode.R

Description

Prints a vector to the console as R code that can be copied and pasted into a script.

Usage

1
vectorCode(x, width = getOption("width"))

Arguments

x

A vector

width

The maximum width of each line of code. By default, it uses the width option.

Author(s)

Benjamin Nutter

Examples

1

nutterb/Bluegrass documentation built on May 24, 2019, 10:50 a.m.