indentPrint: Print an Object with Indentation

View source: R/CGIwithR.R

indentPrintR Documentation

Print an Object with Indentation

Description

Allows the printed representation of an R object to be indented by a specified number of spaces.

Usage

indentPrint(object, indent=4, ...)

Arguments

object

An R object

indent

The number of spaces to indent; default 4

...

Other arguments to be passed to print

Value

invisible(object)

Author(s)

David Firth d.firth@warwick.ac.uk

Examples

indentPrint(1:4,indent=10)

duncantl/CGIwithR documentation built on Nov. 23, 2023, 3:38 p.m.