Examples for 'htmlTable::txtMergeLines'


A merges lines while preserving the line break for HTML/LaTeX

Aliases: txtMergeLines

Keywords:

### ** Examples

txtMergeLines("hello", "world")
hello
world
txtMergeLines("hello", "world", html=FALSE)
[1] "\\vbox{\\hbox{\\strut hello}\\hbox{\\strut world}}"
txtMergeLines("hello", "world", list("A list", "is OK"))
hello
world
A list
is OK
A list
is OK

[Package htmlTable version 2.4.3 Index]