Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

obj_print

print() and str() generics.


Description

These are constructed to be more easily extensible since you can override the _header(), _data() or _footer() components individually. The default methods are built on top of format().

Usage

obj_print(x, ...)

obj_print_header(x, ...)

obj_print_data(x, ...)

obj_print_footer(x, ...)

obj_str(x, ...)

obj_str_header(x, ...)

obj_str_data(x, ...)

obj_str_footer(x, ...)

Arguments

x

A vector

...

Additional arguments passed on to methods. See print() and str() for commonly used options


vctrs

Vector Helpers

v0.3.8
MIT + file LICENSE
Authors
Hadley Wickham [aut], Lionel Henry [aut, cre], Davis Vaughan [aut], data.table team [cph] (Radix sort based on data.table's forder() and their contribution to R's order()), RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.