Learn R Programming

pander (version 0.6.5)

remove.extra.newlines: Remove more then two joined newlines

Description

Remove more then two joined newlines

Usage

remove.extra.newlines(x)

Arguments

x

character vector

Examples

Run this code
# NOT RUN {
remove.extra.newlines(c('\n\n\n', '\n\n', '\n'))
# }

Run the code above in your browser using DataLab