Learn R Programming

qvcalc (version 1.0.1)

indentPrint: Print with Line Indentation

Description

Same as print, but adds a specified amount of white space at the start of each printed line

Usage

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

Arguments

object

any printable object

indent

a non-negative integer, the number of spaces to insert

other arguments to pass to print

Value

object is returned invisibly

Examples

Run this code
# NOT RUN {
indentPrint("this indented by 10 spaces", indent=10)
# }

Run the code above in your browser using DataLab