Class: RList
RWorker.RList
Hierarchy
-
↳
RList
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new RList(val
)
Parameters
Name | Type |
---|---|
val |
WebRData |
Overrides
Defined in
webR/robj-worker.ts:526
Properties
ptr
• ptr: number
Inherited from
Defined in
webR/robj-worker.ts:141
Accessors
[toStringTag]
• get
[toStringTag](): string
Returns
string
Inherited from
RObject.__@toStringTag@170
Defined in
webR/robj-worker.ts:169
length
• get
length(): number
Returns
number
Defined in
webR/robj-worker.ts:552
Methods
attrs
▸ attrs(): Nullable
<RPairlist
>
Returns
Inherited from
Defined in
webR/robj-worker.ts:195
entries
▸ entries(options?
): NamedEntries
<WebRData
>
Parameters
Name | Type |
---|---|
options |
Object |
options.depth |
number |
Returns
Defined in
webR/robj-worker.ts:578
get
▸ get(prop
): RObject
Parameters
Name | Type |
---|---|
prop |
string | number |
Returns
Inherited from
Defined in
webR/robj-worker.ts:237
getDollar
▸ getDollar(prop
): RObject
Parameters
Name | Type |
---|---|
prop |
string |
Returns
Inherited from
Defined in
webR/robj-worker.ts:241
includes
▸ includes(name
): null
| boolean
Parameters
Name | Type |
---|---|
name |
string |
Returns
null
| boolean
Inherited from
Defined in
webR/robj-worker.ts:224
inspect
▸ inspect(): void
Returns
void
Inherited from
Defined in
webR/robj-worker.ts:183
isNull
▸ isNull(): this is RNull
Returns
this is RNull
Inherited from
Defined in
webR/robj-worker.ts:187
isUnbound
▸ isUnbound(): boolean
Returns
boolean
Inherited from
Defined in
webR/robj-worker.ts:191
names
▸ names(): null
| (null
| string
)[]
Returns
null
| (null
| string
)[]
Inherited from
Defined in
webR/robj-worker.ts:215
pluck
▸ pluck(...path
): undefined
| RObject
Parameters
Name | Type |
---|---|
...path |
(string | number )[] |
Returns
undefined
| RObject
Inherited from
Defined in
webR/robj-worker.ts:261
set
▸ set(prop
, value
): RObject
Parameters
Name | Type |
---|---|
prop |
string | number |
value |
RObject | WebRDataRaw |
Returns
Inherited from
Defined in
webR/robj-worker.ts:277
setNames
▸ setNames(values
): RList
Parameters
Name | Type |
---|---|
values |
null | (null | string )[] |
Returns
Inherited from
Defined in
webR/robj-worker.ts:199
subset
▸ subset(prop
): RObject
Parameters
Name | Type |
---|---|
prop |
string | number |
Returns
Inherited from
Defined in
webR/robj-worker.ts:233
toArray
▸ toArray(options?
): WebRData
[]
Parameters
Name | Type |
---|---|
options |
Object |
options.depth |
number |
Returns
WebRData
[]
Defined in
webR/robj-worker.ts:556
toJs
▸ toJs(options?
, depth?
): WebRDataJsNode
Parameters
Name | Type | Default value |
---|---|---|
options |
Object |
undefined |
options.depth |
number |
undefined |
depth |
number |
1 |
Returns
Overrides
Defined in
webR/robj-worker.ts:583
toObject
▸ toObject(«destructured»?
): NamedObject
<WebRData
>
Parameters
Name | Type |
---|---|
«destructured» |
Object |
› allowDuplicateKey |
undefined | boolean |
› allowEmptyKey |
undefined | boolean |
› depth |
undefined | number |
Returns
Defined in
webR/robj-worker.ts:560
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
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
Defined in
webR/robj-worker.ts:164