Print the only the head of an R object
head_print(
x,
max_lines = 20,
header = "",
footer = "",
omitted_footer = "",
...
)
x
, invisibly.
The object to print, or a callback function. See
printer_callback
for details.
Maximum number of lines to print, not including the header and the footer.
The header, if a function, then it will be called,
otherwise printed using cat
.
The footer, if a function, then it will be called,
otherwise printed using cat
.
Footer that is only printed if anything
is omitted from the printout. If a function, then it will be called,
otherwise printed using cat
.
Extra arguments to pass to print()
.