simpleStorage-class(externalVector)
simpleStorage-class()所属R语言包:externalVector
Class "simpleStorage", an external storage class that uses
类“simpleStorage”,使用外部存储类
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The class "simpleStorage" is an implementation of the "externalStorage" class. The actual storage for the vector object is contained in an R basic vector referenced through the
类"simpleStorage"是"externalStorage"类的实现。在R的基本向量,通过引用包含矢量对象的实际存储
类的对象----------Objects from the Class----------
Objects can be created by calls of the form new("simpleStorage", type, length). See the initialize method for "externalStorage" for details.
创建对象可以通过检测的形式new("simpleStorage", type, length)。 initialize细节"externalStorage"方法。
插槽----------Slots----------
ptr: Object of class "externalptr", keeps the R basic vector in the protected field. For "logical", "integer", "numeric", "complex", the address field of the external pointer also holds a pointer to the data in
ptr:Object类的"externalptr",保持在R在保护领域的基本向量。对于"logical","integer","numeric","complex",外部指针的地址栏也持有数据的指针
type: Object of class "vector", a vector object of length one representing the type of object stored in the
type:Object类的"vector",矢量对象的长度代表的对象的类型之一存储在
length: Object of class "integer", Cached value
length类"integer",缓存值:对象
延伸----------Extends----------
Class "externalStorage", directly. Class "externalResource", by class "externalStorage".
类"externalStorage",直接。类"externalResource"类"externalStorage"。
方法----------Methods----------
Signature components for the methods:
签名组件的方法:
The class "simpleStorage"
类“simpleStorage”
Description of the methods:
方法描述:
allocatedSize(resource) Length of the vector to be stored.
allocatedSize(资源)向量的长度进行存储。
allocatedType The type of vector to be stored.
allocatedType存储向量类型。
参见----------See Also----------
externalStorage-class to see details of the super class.
externalStorage-class超类的细节。
externalVector to create "externalVector" objects that use this resource.
externalVector"externalVector"的对象使用这个资源。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|