fixedWidthCat {BiocCaseStudies}R Documentation

Control the output of show methods

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

fixedWidthCat(x, width=getOption("width"))

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

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

[Package BiocCaseStudies version 1.4.0 Index]