Source-class {tm}R Documentation

Source

Description

A (virtual) class representing a source, e.g., a directory, a connection, et cetera.

Objects from the Class

Objects can be created by deriving and instantiating subclasses.

Slots

DefaultReader:
object of class function describing a default reader.
Encoding:
object of class character holding the encoding of the texts delivered by the source.
Length:
object of class numeric denoting the number of the elements delivered by the source. If the number cannot be determined in advance it should be set to zero.
LoDSupport:
object of class logical indicating whether this source supports load on demand.
Position:
object of class numeric indicating the position in the source.
Vectorized:
object of class logical indicating the ability for parallel element access.

Author(s)

Ingo Feinerer

See Also

stepNext, getElem, eoi for sequential element access, and pGetElem for parallel element access.

getSources to list available sources.


[Package tm version 0.3-4.1 Index]