print {frab}R Documentation

Methods for printing frabs

Description

Methods for printing frabs nicely

Usage

## S4 method for signature 'frab'
show(object)
frab_print(object)

Arguments

object

An object of class frab

Details

The method is sensitive to option frab_print_hash. If TRUE, the hash code is printed; otherwise it is not.

Function frab_print() returns its argument, invisibly.

There is special dispensation for the empty frab object.

Value

Returns its argument, invisibly

Author(s)

Robin K. S. Hankin

Examples


print(rfrab())  # default

options(frab_print_hash = TRUE)
print(rfrab())  # prints hash code

options(frab_print_hash = NULL)  # restore default


[Package frab version 0.0-6 Index]