Description Usage Arguments Details Value Note Author(s) References See Also Examples
operators
returns the names of defined operators.
1 |
types |
A character vector with types of operators to return. The types may
one or more of: |
operators
provides the names of defined operators.
These can be either CORE language operators or 'SPECIAL' operators
defined by the %any%
syntax. By default, i.e. when
types=NULL
, all operators are returned.
The core operators are:
namespace | :: ::: |
component | @ $ |
indexing | \[ \[\[ |
sequence | : |
arithmetic | + - * / ^ %% %/% |
relational | < > <= >= == != %in% %!in% |
logical | ! & && | || |
tilde | ~ |
assignment | <- <<- -> ->> = |
help | ? |
types
may also be one a special operator groupings:
ALL: same as types=NULL
CORE: only base R operators and those registers using
setOperator
SPECIAL: All operators defined using the %any%
syntax
USER: All SPECIAL operators not including CORE
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
http://cran.r-project.org/doc/manuals/R-lang.html https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14310
Syntax
, setOperator
, and help files
on varios operators
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.