replace_white {textclean}R Documentation

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)

[Package textclean version 0.9.3 Index]