Learn R Programming

tm (version 0.5-9.1)

removeNumbers: Remove Numbers from a Text Document

Description

Stip any numbers from a text document.

Usage

## S3 method for class 'PlainTextDocument':
removeNumbers(x)

Arguments

x
A text document.

Value

  • The text document with any numbers in it removed.

See Also

getTransformations to list available transformation (mapping) functions.

Examples

Run this code
data("crude")
crude[[1]]
removeNumbers(crude[[1]])

Run the code above in your browser using DataLab