readTitles {SherlockHolmes}R Documentation

readTitles

Description

read and edit titles to remove blank lines and white space

Usage

readTitles(titles)

Arguments

titles

is a character string containing the full path name for a text file containing the titles of the stories in the same order that thney appear in the texts file

Value

a character vector of titles

Examples

titles<-system.file("extdata/contents3.txt",package="SherlockHolmes")
rt<-readTitles(titles)

[Package SherlockHolmes version 1.0.1 Index]