fixedWidthCat: Control the output of show methods

Description Usage Arguments Value Author(s) Examples

View source: R/fixedWidthCat.R

Description

fixedWidthCat makes sure that the output of a show method fits on the page by inserting lines breaks into long strings.

numName converts an integer to it's literal name.

sepInt prints integers with a comma as separator between 1000s

Usage

1

Arguments

x

An R object which is to be shown.

width

The number of characters after which lines are to be broken.

Value

A character vector of the output with long lines broken

Author(s)

Florian Hahne

Examples

1
2
long <- paste(rep(letters[1:24], 5), sep="", collapse="")
fixedWidthCat(long)

BiocCaseStudies documentation built on Nov. 8, 2020, 5:12 p.m.