Print up to the getOption("max.print") and ask the user if they want to print more than that. This is most useful when printing tibbles with more than 10 rows but less than getOption("max.print").

print_all(x, ask = TRUE)

Arguments

x

Object to print, typically a data frame or vector.

ask

If the length of x exceeds getOption("max.print"), should the user be promoted confirm their intention to print everything. If FALSE, the maximum is printed without double checking: this can be extremely slow. The 'usethis' package must be installed for interactive confirmation.

Value

The object x (invisibly)