Learn R Programming

tm (version 0.4)

ReutersSource: Reuters Source

Description

Constructs a source for a Reuters XML document.

Usage

## S3 method for class 'character':
ReutersSource(object, encoding = "UTF-8")

Arguments

object
Either a character identifying the file or a connection.
encoding
A character giving the encoding of the file.

Value

  • An S4 object of class ReutersSource which extends the class Source representing a Reuters XML document.