| operators | R Documentation |
operators returns the names of defined operators. Argument
types can be used to select operators of a specified type(s) or
GROUPING(s). See Details for specifics.
operators(types = "REGISTERED")
types |
A character vector with the types of operators to return. The
types may one or more of: 'namespace', 'component', 'indexing', 'sequence',
'arithmetic', 'relational', 'logical', 'tilde', 'assignment', 'help',
'user', or user-defined type specified in a call to
By default, only registered operators are returned. This is purely for
performance reasons as an exhausting search for See Syntax.for the core R operators
|
character vector of unique operator names.
The right arrow assignment operators, -> and ->> is not
an operator but a syntatic variant. Consequently, it does not behave
properly as an operator. They are omitted from the operator list as they
are not correctly identified as primitives or functions by the R language.
Christopher Brown
https://cran.r-project.org/doc/manuals/R-lang.html https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14310
Syntax, setOperator,
setOperators, and the help files on the individial operators.
## Not run:
operators()
operators( types="arithmetic" )
operators( types=c("arithmetic","logical" ) )
operators( types='ALL' )
operators( types='REG' )
operators( types='UNREG' )
operators( types='SPECIAL' )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.