vec2str: Convert a vector to a string (for assignment)

View source: R/vec2str.R

vec2strR Documentation

Convert a vector to a string (for assignment)

Description

Convert a vector to a string (for assignment)

Usage

vec2str(vec)

Arguments

vec

a vector to convert

Value

a string version of the vertoc (ie: 'c("elt1", "elt2", ...)')

Examples

## Not run: 
grep("^A", names(islands), value = TRUE) |> vec2str(vec = _) |>
  cat()
grep("^A", names(islands), value = TRUE) |> vec2str(vec = _) |>
  clipr::write_clip()

## End(Not run)

salix-d/salix_miscFuns documentation built on Aug. 14, 2024, 7:45 p.m.