rm.newline.chars {readmoRe} | R Documentation |
Remove 'newline' Characters From Imported Excel Sheets
Description
rm.newline.chars
removes ‘newline’ characters (\n
) from any column of a data frame.
Usage
rm.newline.chars(x, verbose = TRUE)
Arguments
x |
( |
verbose |
( |
Details
‘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.
Value
A data frame.
[Package readmoRe version 0.2-12 Index]