Class: RCharacter
RWorker.RCharacter
Hierarchy
RVectorAtomic
<string
>↳
RCharacter
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new RCharacter(val
)
Parameters
Name | Type |
---|---|
val |
WebRDataAtomic <string > |
Overrides
RVectorAtomic<string>.constructor
Defined in
webR/robj-worker.ts:1016
Properties
ptr
• ptr: number
Inherited from
RVectorAtomic.ptr
Defined in
webR/robj-worker.ts:141
Accessors
[toStringTag]
• get
[toStringTag](): string
Returns
string
Inherited from
RVectorAtomic.__@toStringTag@170
Defined in
webR/robj-worker.ts:169
length
• get
length(): number
Returns
number
Inherited from
RVectorAtomic.length
Defined in
webR/robj-worker.ts:777
Methods
attrs
▸ attrs(): Nullable
<RPairlist
>
Returns
Inherited from
RVectorAtomic.attrs
Defined in
webR/robj-worker.ts:195
detectMissing
▸ detectMissing(): boolean
[]
Returns
boolean
[]
Inherited from
RVectorAtomic.detectMissing
Defined in
webR/robj-worker.ts:793
entries
▸ entries(): NamedEntries
<null
| string
>
Returns
NamedEntries
<null
| string
>
Inherited from
RVectorAtomic.entries
Defined in
webR/robj-worker.ts:835
get
▸ get(prop
): RCharacter
Parameters
Name | Type |
---|---|
prop |
string | number |
Returns
Inherited from
RVectorAtomic.get
Defined in
webR/robj-worker.ts:781
getDollar
▸ getDollar(prop
): RObject
Parameters
Name | Type |
---|---|
prop |
string |
Returns
Inherited from
RVectorAtomic.getDollar
Defined in
webR/robj-worker.ts:789
getString
▸ getString(idx
): null
| string
Parameters
Name | Type |
---|---|
idx |
number |
Returns
null
| string
Defined in
webR/robj-worker.ts:1030
includes
▸ includes(name
): null
| boolean
Parameters
Name | Type |
---|---|
name |
string |
Returns
null
| boolean
Inherited from
RVectorAtomic.includes
Defined in
webR/robj-worker.ts:224
inspect
▸ inspect(): void
Returns
void
Inherited from
RVectorAtomic.inspect
Defined in
webR/robj-worker.ts:183
isNull
▸ isNull(): this is RNull
Returns
this is RNull
Inherited from
RVectorAtomic.isNull
Defined in
webR/robj-worker.ts:187
isUnbound
▸ isUnbound(): boolean
Returns
boolean
Inherited from
RVectorAtomic.isUnbound
Defined in
webR/robj-worker.ts:191
names
▸ names(): null
| (null
| string
)[]
Returns
null
| (null
| string
)[]
Inherited from
RVectorAtomic.names
Defined in
webR/robj-worker.ts:215
pluck
▸ pluck(...path
): undefined
| RObject
Parameters
Name | Type |
---|---|
...path |
(string | number )[] |
Returns
undefined
| RObject
Inherited from
RVectorAtomic.pluck
Defined in
webR/robj-worker.ts:261
set
▸ set(prop
, value
): RObject
Parameters
Name | Type |
---|---|
prop |
string | number |
value |
RObject | WebRDataRaw |
Returns
Inherited from
RVectorAtomic.set
Defined in
webR/robj-worker.ts:277
setNames
▸ setNames(values
): RCharacter
Parameters
Name | Type |
---|---|
values |
null | (null | string )[] |
Returns
Inherited from
RVectorAtomic.setNames
Defined in
webR/robj-worker.ts:199
subset
▸ subset(prop
): RCharacter
Parameters
Name | Type |
---|---|
prop |
string | number |
Returns
Inherited from
RVectorAtomic.subset
Defined in
webR/robj-worker.ts:785
toArray
▸ toArray(): (null
| string
)[]
Returns
(null
| string
)[]
Overrides
RVectorAtomic.toArray
Defined in
webR/robj-worker.ts:1054
toJs
▸ toJs(): WebRDataJsAtomic
<string
>
Returns
WebRDataJsAtomic
<string
>
Inherited from
RVectorAtomic.toJs
Defined in
webR/robj-worker.ts:841
toObject
▸ toObject(«destructured»?
): NamedObject
<null
| string
>
Parameters
Name | Type |
---|---|
«destructured» |
Object |
› allowDuplicateKey |
undefined | boolean |
› allowEmptyKey |
undefined | boolean |
Returns
NamedObject
<null
| string
>
Inherited from
RVectorAtomic.toObject
Defined in
webR/robj-worker.ts:817
toString
▸ toString(): string
Returns
string
Defined in
webR/robj-worker.ts:1034
toTypedArray
▸ toTypedArray(): Uint32Array
Returns
Uint32Array
Overrides
RVectorAtomic.toTypedArray
Defined in
webR/robj-worker.ts:1045
type
▸ type(): "string"
| "symbol"
| "function"
| "double"
| "null"
| "pairlist"
| "closure"
| "environment"
| "promise"
| "call"
| "special"
| "builtin"
| "logical"
| "integer"
| "complex"
| "character"
| "dots"
| "any"
| "list"
| "expression"
| "bytecode"
| "pointer"
| "weakref"
| "raw"
| "s4"
| "new"
| "free"
Returns
"string"
| "symbol"
| "function"
| "double"
| "null"
| "pairlist"
| "closure"
| "environment"
| "promise"
| "call"
| "special"
| "builtin"
| "logical"
| "integer"
| "complex"
| "character"
| "dots"
| "any"
| "list"
| "expression"
| "bytecode"
| "pointer"
| "weakref"
| "raw"
| "s4"
| "new"
| "free"
Inherited from
RVectorAtomic.type
Defined in
webR/robj-worker.ts:146
wrap
▸ Static
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:164