externalVectorWithStorage-class {externalVector} | R Documentation |
This is a subclass of "externalVector"
that
implements the use of arbitrary external backends for storing the
elements of the vector.
Objects can be created by calls of the form externalVector(type,
lengtyh, storageClass)
.
storage
:"externalStorage"
, the
storage backend for the vector elements. Names
:"vectorNamesType"
, names
of the elements. Dim
:"integerOrNull"
, dimension
of the object. DimNames
:"listOrNull"
,
dimnames of the object
Class "externalVector"
, directly.
Class "vectorNamesType"
, directly.
op
this returns the result of the operation. Either (or both) of
e1
and e2
are of class
"externalVectorWithSTorage"
. Complex
group generic. Math
group generic. x
. x
with base
base
. x
according to the given subscripts. x
by value
according to the given subscripts. x
to a basic R vector with same
names, dimension and dimnames (if any of these are present in
x
). x
so that it now
behaves like a basic R vector with the same class as type
.x
. x
. x
. x
. x
. x
to value
. x
. storage
slot of
x
. getNativeStorageMethods(x@storage)
. x
indicating if an element of x
is finite. x
indicating if an element of x
is infinite. x
indicating if an element of x
is NA
. x
indicating if an element of x
is NaN
. x
. x
to value
. x
. x
to
value
. TRUE
? TRUE
? x
to
value
without any error checking or coercion. Return the
modified x
. x
to value
without any error checking or coercion. Return the modified
x
. "externalVectorWithStorage"
object with the same
external storage backend class as x
but with
(possibly) new length, type, names, dim or dimnames. If
arrayOnly is FALSE, the names, dim and dimnames for the
new object are not set. "externalVectorWithSTorage"
.
externalVector
and externalMatrix
for how
how to create new objects from this class easily.