Type of a R object.
RObjectType
01 Syntax
02 Fields
| Name | Overloads | Summary |
|---|---|---|
| NIL | 2 | NULL, nil = NULL |
| SYM | 2 | symbols |
| LIST | 2 | pairlists, lists of dotted pairs |
| CLO | 2 | closures |
| ENV | 2 | environments |
| PROM | 2 | promises, promises: [un]evaluated closure arguments |
| LANG | 2 | language objects, language constructs (special lists) |
| SPECIAL | 2 | special functions |
| BUILTIN | 2 | builtin functions, builtin non-special forms |
| CHAR | 2 | internal character strings, "scalar" string type (internal only, CHARSXP) |
| LGL | 2 | logical vectors |
| INT | 2 | Integer vectors |
| REAL | 2 | numeric vectors |
| CPLX | 2 | complex vectors |
| STR | 2 | character vectors(STRSXP) |
| DOT | 2 | dot-dot-dot Object |
| ANY | 2 | make “any” args work Used in specifying types for symbol registration To mean anything Is okay |
| VEC | 2 | VECSXP, list (generic vector) |
| EXPR | 2 | expression vector |
| BCODE | 2 | Byte code |
| EXTPTR | 2 | external pointer |
| WEAKREF | 2 | weak reference |
| RAW | 2 | raw bytes vector |
| S4 | 2 | S4 classes Not Of simple type |
| FUNSXP | 2 | Closure or Builtin or Special |
| ALTREP | 2 | Alternative representations |
| EMPTYENV | 2 | Empty environment |
| GLOBALENV | 2 | Global environment |
| NILVALUE | 2 | NIL value |
| REF | 2 | Reference |
03 Members
NULL, nil = NULL
symbols
pairlists, lists of dotted pairs
closures
environments
promises, promises: [un]evaluated closure arguments
language objects, language constructs (special lists)
special functions
builtin functions, builtin non-special forms
internal character strings, "scalar" string type (internal only, CHARSXP)
logical vectors
Integer vectors
numeric vectors
complex vectors
character vectors(STRSXP)
dot-dot-dot Object
make “any” args work
Used in specifying types for symbol registration To mean anything Is okay
VECSXP, list (generic vector)
expression vector
Byte code
external pointer
weak reference
raw bytes vector
S4 classes Not Of simple type
Closure or Builtin or Special
Alternative representations
Empty environment
Global environment
NIL value
Reference