Class: RPairlist
RWorker.RPairlist
Hierarchy
-
↳
RPairlist
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new RPairlist(val
): RPairlist
Parameters
Name | Type |
---|---|
val |
WebRData |
Returns
Overrides
Defined in
webR/robj-worker.ts:440
Properties
ptr
• ptr: number
Inherited from
Defined in
webR/robj-worker.ts:183
Accessors
[toStringTag]
• get
[toStringTag](): string
Returns
string
Inherited from
RObject.[toStringTag]
Defined in
webR/robj-worker.ts:212
length
• get
length(): number
Returns
number
Defined in
webR/robj-worker.ts:470
Methods
attrs
▸ attrs(): Nullable
<RPairlist
>
Returns
Inherited from
Defined in
webR/robj-worker.ts:248
car
▸ car(): RObject
Returns
Defined in
webR/robj-worker.ts:532
cdr
Returns
Defined in
webR/robj-worker.ts:536
class
▸ class(): RCharacter
Returns
Inherited from
Defined in
webR/robj-worker.ts:252
entries
▸ entries(options?
): NamedEntries
<WebRData
>
Parameters
Name | Type |
---|---|
options |
ToJsOptions |
Returns
Defined in
webR/robj-worker.ts:496
get
▸ get(prop
): RObject
Parameters
Name | Type |
---|---|
prop |
string | number |
Returns
Inherited from
Defined in
webR/robj-worker.ts:302
getDollar
▸ getDollar(prop
): RObject
Parameters
Name | Type |
---|---|
prop |
string |
Returns
Inherited from
Defined in
webR/robj-worker.ts:306
includes
▸ includes(name
): boolean
Parameters
Name | Type |
---|---|
name |
string |
Returns
boolean
Overrides
Defined in
webR/robj-worker.ts:524
inspect
▸ inspect(): void
Returns
void
Inherited from
Defined in
webR/robj-worker.ts:226
isNa
▸ isNa(): boolean
Returns
boolean
Inherited from
Defined in
webR/robj-worker.ts:234
isNull
▸ isNull(): this is RNull
Returns
this is RNull
Inherited from
Defined in
webR/robj-worker.ts:230
isUnbound
▸ isUnbound(): boolean
Returns
boolean
Inherited from
Defined in
webR/robj-worker.ts:244
names
▸ names(): null
| (null
| string
)[]
Returns
null
| (null
| string
)[]
Inherited from
Defined in
webR/robj-worker.ts:279
pluck
▸ pluck(...path
): undefined
| RObject
Parameters
Name | Type |
---|---|
...path |
(string | number )[] |
Returns
undefined
| RObject
Inherited from
Defined in
webR/robj-worker.ts:326
set
▸ set(prop
, value
): RObject
Parameters
Name | Type |
---|---|
prop |
string | number |
value |
WebRDataRaw | RObject |
Returns
Inherited from
Defined in
webR/robj-worker.ts:342
setNames
▸ setNames(values
): this
Parameters
Name | Type |
---|---|
values |
null | (null | string )[] |
Returns
this
Inherited from
Defined in
webR/robj-worker.ts:263
setcar
▸ setcar(obj
): void
Parameters
Name | Type |
---|---|
obj |
RObject |
Returns
void
Defined in
webR/robj-worker.ts:528
subset
▸ subset(prop
): RObject
Parameters
Name | Type |
---|---|
prop |
string | number |
Returns
Inherited from
Defined in
webR/robj-worker.ts:298
tag
Returns
Defined in
webR/robj-worker.ts:540
toArray
▸ toArray(options?
): WebRData
[]
Parameters
Name | Type |
---|---|
options |
ToJsOptions |
Returns
WebRData
[]
Defined in
webR/robj-worker.ts:474
toJs
▸ toJs(options?
, depth?
): WebRDataJsNode
Parameters
Name | Type | Default value |
---|---|---|
options |
ToJsOptions |
undefined |
depth |
number |
1 |
Returns
Overrides
Defined in
webR/robj-worker.ts:501
toObject
▸ toObject(«destructured»?
): NamedObject
<WebRData
>
Parameters
Name | Type | Default value |
---|---|---|
«destructured» |
Object |
{} |
› allowDuplicateKey |
undefined | boolean |
true |
› allowEmptyKey |
undefined | boolean |
false |
› depth |
undefined | number |
-1 |
Returns
Defined in
webR/robj-worker.ts:478
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
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
Defined in
webR/robj-worker.ts:206