Class: RRaw
RWorker.RRaw
Hierarchy
RVectorAtomic
<number
>↳
RRaw
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new RRaw(val
): RRaw
Parameters
Name | Type |
---|---|
val |
WebRDataAtomic <number > |
Returns
Overrides
RVectorAtomic<number>.constructor
Defined in
webR/robj-worker.ts:1264
Properties
ptr
• ptr: number
Inherited from
RVectorAtomic.ptr
Defined in
webR/robj-worker.ts:183
Accessors
[toStringTag]
• get
[toStringTag](): string
Returns
string
Inherited from
RVectorAtomic.[toStringTag]
Defined in
webR/robj-worker.ts:212
length
• get
length(): number
Returns
number
Inherited from
RVectorAtomic.length
Defined in
webR/robj-worker.ts:979
Methods
attrs
▸ attrs(): Nullable
<RPairlist
>
Returns
Inherited from
RVectorAtomic.attrs
Defined in
webR/robj-worker.ts:248
class
▸ class(): RCharacter
Returns
Inherited from
RVectorAtomic.class
Defined in
webR/robj-worker.ts:252
detectMissing
▸ detectMissing(): boolean
[]
Returns
boolean
[]
Inherited from
RVectorAtomic.detectMissing
Defined in
webR/robj-worker.ts:995
entries
▸ entries(): NamedEntries
<null
| number
>
Returns
NamedEntries
<null
| number
>
Inherited from
RVectorAtomic.entries
Defined in
webR/robj-worker.ts:1037
get
▸ get(prop
): this
Parameters
Name | Type |
---|---|
prop |
string | number |
Returns
this
Inherited from
RVectorAtomic.get
Defined in
webR/robj-worker.ts:983
getDollar
▸ getDollar(): RObject
Returns
Inherited from
RVectorAtomic.getDollar
Defined in
webR/robj-worker.ts:991
getNumber
▸ getNumber(idx
): null
| number
Parameters
Name | Type |
---|---|
idx |
number |
Returns
null
| number
Defined in
webR/robj-worker.ts:1279
includes
▸ includes(name
): null
| boolean
Parameters
Name | Type |
---|---|
name |
string |
Returns
null
| boolean
Inherited from
RVectorAtomic.includes
Defined in
webR/robj-worker.ts:288
inspect
▸ inspect(): void
Returns
void
Inherited from
RVectorAtomic.inspect
Defined in
webR/robj-worker.ts:226
isNa
▸ isNa(): boolean
Returns
boolean
Inherited from
RVectorAtomic.isNa
Defined in
webR/robj-worker.ts:234
isNull
▸ isNull(): this is RNull
Returns
this is RNull
Inherited from
RVectorAtomic.isNull
Defined in
webR/robj-worker.ts:230
isUnbound
▸ isUnbound(): boolean
Returns
boolean
Inherited from
RVectorAtomic.isUnbound
Defined in
webR/robj-worker.ts:244
names
▸ names(): null
| (null
| string
)[]
Returns
null
| (null
| string
)[]
Inherited from
RVectorAtomic.names
Defined in
webR/robj-worker.ts:279
pluck
▸ pluck(...path
): undefined
| RObject
Parameters
Name | Type |
---|---|
...path |
(string | number )[] |
Returns
undefined
| RObject
Inherited from
RVectorAtomic.pluck
Defined in
webR/robj-worker.ts:326
set
▸ set(prop
, value
): RObject
Parameters
Name | Type |
---|---|
prop |
string | number |
value |
WebRDataRaw | RObject |
Returns
Inherited from
RVectorAtomic.set
Defined in
webR/robj-worker.ts:342
setNames
▸ setNames(values
): this
Parameters
Name | Type |
---|---|
values |
null | (null | string )[] |
Returns
this
Inherited from
RVectorAtomic.setNames
Defined in
webR/robj-worker.ts:263
subset
▸ subset(prop
): this
Parameters
Name | Type |
---|---|
prop |
string | number |
Returns
this
Inherited from
RVectorAtomic.subset
Defined in
webR/robj-worker.ts:987
toArray
▸ toArray(): (null
| number
)[]
Returns
(null
| number
)[]
Inherited from
RVectorAtomic.toArray
Defined in
webR/robj-worker.ts:1014
toJs
▸ toJs(): WebRDataJsAtomic
<number
>
Returns
WebRDataJsAtomic
<number
>
Inherited from
RVectorAtomic.toJs
Defined in
webR/robj-worker.ts:1043
toNumber
▸ toNumber(): number
Returns
number
Defined in
webR/robj-worker.ts:1283
toObject
▸ toObject(«destructured»?
): NamedObject
<null
| number
>
Parameters
Name | Type | Default value |
---|---|---|
«destructured» |
Object |
{} |
› allowDuplicateKey |
undefined | boolean |
true |
› allowEmptyKey |
undefined | boolean |
false |
Returns
NamedObject
<null
| number
>
Inherited from
RVectorAtomic.toObject
Defined in
webR/robj-worker.ts:1019
toTypedArray
▸ toTypedArray(): Uint8Array
Returns
Uint8Array
Overrides
RVectorAtomic.toTypedArray
Defined in
webR/robj-worker.ts:1294
type
▸ type(): "string"
| "symbol"
| "function"
| "raw"
| "null"
| "pairlist"
| "closure"
| "environment"
| "promise"
| "call"
| "special"
| "builtin"
| "logical"
| "integer"
| "double"
| "complex"
| "character"
| "dots"
| "any"
| "list"
| "expression"
| "bytecode"
| "pointer"
| "weakref"
| "s4"
| "new"
| "free"
Returns
"string"
| "symbol"
| "function"
| "raw"
| "null"
| "pairlist"
| "closure"
| "environment"
| "promise"
| "call"
| "special"
| "builtin"
| "logical"
| "integer"
| "double"
| "complex"
| "character"
| "dots"
| "any"
| "list"
| "expression"
| "bytecode"
| "pointer"
| "weakref"
| "s4"
| "new"
| "free"
Inherited from
RVectorAtomic.type
Defined in
webR/robj-worker.ts:188
wrap
▸ wrap<T
>(this
, ptr
): InstanceType
<T
>
Type parameters
Name | Type |
---|---|
T |
extends typeof RObject |
Parameters
Name | Type |
---|---|
this |
T |
ptr |
number |
Returns
InstanceType
<T
>
Inherited from
RVectorAtomic.wrap
Defined in
webR/robj-worker.ts:206