pasteHead: pasteHead

Description Usage Arguments Author(s) Examples

View source: R/debug.R

Description

Collapse each argument to at most nHead elements and apply fPasteItem to each one

Usage

1
pasteHead(..., nHead = 3L, fPasteItem = pasteCollapseNamed)

Arguments

...

arguments to paste together

nHead

number of elements to include

fPasteItem

collapse function applied to each argument. Defaults to pasteCollapseNamed.

Author(s)

Thomas Wutzler

Examples

1
2
pasteHead("short vector is: ",c(a=1,b=2)," by string.")
pasteHead("longer vector is: ",1:5," by string.")

twMisc documentation built on May 31, 2017, 4:37 a.m.