The R Project SVN R

Rev

Rev 34966 | Rev 42333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34966 Rev 35579
Line 7... Line 7...
7
\details{
7
\details{
8
  The following unary and binary operators are defined.  They are listed
8
  The following unary and binary operators are defined.  They are listed
9
  in precedence groups, from highest to lowest.
9
  in precedence groups, from highest to lowest.
10
  \tabular{ll}{
10
  \tabular{ll}{
11
    \code{[ [[}\tab indexing\cr
11
    \code{[ [[}\tab indexing\cr
12
    \code{::}\tab name space/variable name separator\cr
12
    \code{:: :::}\tab access variables in a name space\cr
13
    \code{$ @}\tab component / slot extraction\cr
13
    \code{$ @}\tab component / slot extraction\cr
14
    \code{^}\tab exponentiation (right to left)\cr
14
    \code{^}\tab exponentiation (right to left)\cr
15
    \code{- +}\tab unary minus and plus\cr
15
    \code{- +}\tab unary minus and plus\cr
16
    \code{:}\tab sequence operator\cr
16
    \code{:}\tab sequence operator\cr
17
    \code{\%any\%}\tab special operators\cr
17
    \code{\%any\%}\tab special operators\cr
Line 33... Line 33...
33
  The links in the \bold{See Also} section covers most other aspects of
33
  The links in the \bold{See Also} section covers most other aspects of
34
  the basic syntax.
34
  the basic syntax.
35
}
35
}
36
\note{
36
\note{
37
  There are substantial precedence differences between \R and S.  In
37
  There are substantial precedence differences between \R and S.  In
38
  particular, in S \code{?} has the same precedence as \code{+ -} and
38
  particular, in S \code{?} has the same precedence as (binary) \code{+ -}
39
  \code{& && | ||} have equal precedence.
39
  and \code{& && | ||} have equal precedence.
40
}
40
}
41
\references{
41
\references{
42
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
42
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
43
  \emph{The New S Language}.
43
  \emph{The New S Language}.
44
  Wadsworth \& Brooks/Cole.
44
  Wadsworth \& Brooks/Cole.