.print.via.format

0th

Percentile

Printing Utilities

.print.via.format is a “prototype” print() method, useful, at least as a start, by a simple

    print.  <-  .print.via.format

Keywords
utilities
Usage
.print.via.format(x, ...)
Arguments
x
object to be printed.
...
optional further arguments, passed to format.
Value

, invisibly (by invisible()), as print methods should.

See Also

The print generic; its default method print.default (used for many basic implicit classes such as "numeric", "character" and arrays of them, lists etc).

Aliases
  • .print.via.format
Examples
library(tools) ## The function is simply defined as function (x, ...) { writeLines(format(x, ...)) invisible(x) } ## is used for simple print methods in R, and as prototype for new methods.
Documentation reproduced from package tools, version 3.2.0, License: Part of R 3.2.0

Community examples

Looks like there are no examples yet.