...

/

Using a Suitable Source Type

Using a Suitable Source Type

Learn about different types of sources. 1

Introduction to sources

The tm package can import several types of documents with special functions called sources. The tm package comes with a set of sources for general-purpose work, but a developer can add additional sources through plug-ins. In this lesson, we’ll look at the sources included with tm .

The tm package provides getsources() to produce a list of available sources. Run the following code to list the available sources in this copy of tm:

Access this course and 1400+ top-rated courses and projects.