View source: R/rm.newline.chars.R
rm.newline.chars | R Documentation |
rm.newline.chars
removes ‘newline’ characters (\n
) from any column of a data frame.
rm.newline.chars(x, verbose = TRUE)
x |
( |
verbose |
( |
‘Newline’ characters in data frame rows are read verbatim and will cause rows in output text files to be distributed across two ore more lines. Such characters, entered accidentally or deliberately in the source Excel file, should be avoided. This function removes all ‘newline’ characters found at the end of a line or replaces them when found within the line text.
A data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.