print0: print0

Description Usage Arguments Details See Also Examples

View source: R/print0.R

Description

Print and object, optionally with attributes

Usage

1
print0(x, attribs = FALSE, ...)

Arguments

x

object

attribs

logical; whether to print attributes. (Default: FALSE)

...

additional arguments to the print method

Details

Print an object without its attributes.

It is easy to use this quickly for a new class. Simply:

1
print.myclass <- base.tools::print0

See Also

Examples

1
2
3
4
5
6
x <- 1:5 
attr( x, "foo" ) <- "bar"

print(x)
print0(x)
print0( x, attribs = TRUE )

decisionpatterns/nameit documentation built on Aug. 22, 2020, 4:18 a.m.