powered by
Calculate number of lines that a string vector (e.g., title, subline, footnote, source) broken to given a specific cell size
rtf_nline_vector(text, strwidth, size)
a vector of integer (number of lines)
a vector of string
a vector of string width in inches
a vector of cell size in inches
The contents of this section are shown in PDF user manual only.
r2rtf:::rtf_nline_vector( text = c("title 1", "this is a sentence for title 2"), strwidth = c(0.4, 2), size = 0.5 )
Run the code above in your browser using DataLab