Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

replace_white

Remove Escaped Characters


Description

Pre-process data to replace one or more white space character with a single space.

Usage

replace_white(x, ...)

Arguments

x

The character vector.

...

ignored.

Value

Returns a vector of character strings with escaped characters removed.

Examples

x <- "I go \r
    to   the \tnext line"
x
replace_white(x)

textclean

Text Cleaning Tools

v0.9.3
GPL-2
Authors
Tyler Rinker [aut, cre], ctwheels StackOverflow [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.