Number of lines required to print a value
nlines(x, colwidths = NULL, max_width = NULL)# S4 method for list
nlines(x, colwidths = NULL, max_width = NULL)
# S4 method for `NULL`
nlines(x, colwidths = NULL, max_width = NULL)
# S4 method for character
nlines(x, colwidths = NULL, max_width = NULL)
A scalar numeric indicating the number of lines needed
to render the object x
.
ANY. The object to be printed
numeric. Column widths (if necessary).
numeric(1). Width strings should be wrapped to when determining how many lines they require.