PlainTextDocument-class {tm}R Documentation

Text document

Description

A class representing a plain text document with additional information.

Objects from the Class

Objects can be created by calls of the form new("PlainTextDocument", ...).

Slots

URI:
Object of class character containing the path and filename holding the data physically on disk
Cached:
Object of class numeric containing the status whether the file was already loaded in memory. Zero indicates not loaded, a value greater zero indicates in memory.

Extends

Class character and TextDocument, directly.

Methods

Corpus
signature(object = "PlainTextDocument"): returns the text corpus, i.e., the actual character data slot
Corpus<-
signature(object = "PlainTextDocument"): sets the text corpus, i.e., the actual character data slot
URI
signature(object = "PlainTextDocument"): returns the filename on disk
Cached
signature(object = "PlainTextDocument"): returns status information for loading on demand
Cached<-
signature(object = "PlainTextDocument"): sets status information for loading on demand

Author(s)

Ingo Feinerer


[Package tm version 0.1-1 Index]