matter class and its subclasses are designed for easy on-demand read/write access to binary on-disk data structures, and working with them as vectors, matrices, arrays, lists, and data frames.
1 2 3 4 5 6 7 8 9 10
Arguments passed to subclasses.
An object to check if it is a matter object or coerce to a matter object.
An object of class
This slot stores the information about locations of the data on disk and within the files.
The storage mode of the accessed data when read into R. This should a 'character' vector of length one with value 'integer' or 'numeric'.
A 'character' vector of the paths to the files where the data are stored.
The read/write mode of the files where the data are stored. This should be 'rb' for read-only access, or 'rb+' for read/write access.
The maximum number of elements which should be loaded into memory at once. Used by methods implementing summary statistics and linear algebra. Ignored when explicitly subsetting the dataset.
The length of the data.
Either 'NULL' for vectors, or an integer vector of length one of more giving the maximal indices in each dimension for matrices and arrays.
The names of the data elements for vectors.
Either 'NULL' or the names for the dimensions. If not 'NULL', then this should be a list of character vectors of the length given by 'dim' for each dimension. This is always 'NULL' for vectors.
Delayed operations to be applied on atoms.
matter is a virtual class and cannot be instantiated directly, but instances of its subclasses can be created through
Access the 'data' slot.
An alias for atomdata(x).
datamode(x), datamode(x) <- value:
Get or set 'datamode'.
paths(x), paths(x) <- value:
Get or set 'paths'.
filemode(x), filemode(x) <- value:
Get or set 'filemode'.
readonly(x), readonly(x) <- value:
A shortcut for getting or setting 'filemode'.
chunksize(x), chunksize(x) <- value:
Get or set 'filemode'.
Standard generic methods:
length(x), length(x) <- value:
Get or set 'length'.
dim(x), dim(x) <- value:
Get or set 'dim'.
names(x), names(x) <- value:
Get or set 'names'.
dimnames(x), dimnames(x) <- value:
Get or set 'dimnames'.
Kylie A. Bemis
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.