strvec: Auto-collapse of Vectors

Description

strvec is a utility function which collapses all elements of a vector into a character scalar.

Usage

1
  strvec(x = NULL)

Arguments

x

A string of characters.

Value

A character scalar consisting of all the elements of x separated by a single white space.

Author(s)

Sebastien Bihorel (sb.pmlab@gmail.com)

Examples

1
2
  strvec(letters[1:10])
  strvec(1:10)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.