The R Project SVN R

Rev

Rev 68948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 72689
Line 1... Line 1...
1
% File src/library/base/man/Reserved.Rd
1
% File src/library/base/man/Reserved.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2014 R Core Team
3
% Copyright 1995-2017 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{Reserved}
6
\name{Reserved}
-
 
7
\title{Reserved Words in R}
7
\alias{Reserved}
8
\alias{Reserved}
8
\alias{reserved}
9
\alias{reserved}
9
\alias{...}
-
 
10
\alias{..1}
-
 
11
\title{Reserved Words in R}
-
 
12
\description{
10
\description{
13
  The reserved words in \R's parser are
11
  The reserved words in \R's parser are
14
 
12
 
15
  \code{\link{if}} \code{\link{else}} \code{\link{repeat}} \code{\link{while}}
13
  \code{\link{if}} \code{\link{else}} \code{\link{repeat}} \code{\link{while}}
16
  \code{\link{function}} \code{\link{for}} \code{in}
14
  \code{\link{function}} \code{\link{for}} \code{in}
Line 20... Line 18...
20
  \code{\link{Inf}} \code{\link{NaN}}
18
  \code{\link{Inf}} \code{\link{NaN}}
21
  \code{\link{NA}} \code{\link{NA_integer_}} \code{\link{NA_real_}}
19
  \code{\link{NA}} \code{\link{NA_integer_}} \code{\link{NA_real_}}
22
  \code{\link{NA_complex_}} \code{\link{NA_character_}}
20
  \code{\link{NA_complex_}} \code{\link{NA_character_}}
23
 
21
 
24
  \code{\dots} and \code{..1}, \code{..2} etc, which are used to refer to
22
  \code{\dots} and \code{..1}, \code{..2} etc, which are used to refer to
25
  arguments passed down from a calling function.  See the
23
  arguments passed down from a calling function, see \code{\link{...}}.
26
  \ifelse{html}{\href{/doc/manual/R-intro.html#The-three-dots-argument}{Introduction to R}}{\sQuote{Introduction to R}}
-
 
27
  manual for usage of these syntactic elements,
-
 
28
  and \link[methods]{dotsMethods} for their use in formal methods.
-
 
29
}
24
}
30
\details{
25
\details{
31
  Reserved words outside \link[=Quotes]{quotes} are always parsed to be
26
  Reserved words outside \link[=Quotes]{quotes} are always parsed to be
32
  references to the objects linked to in the \sQuote{Description}, and
27
  references to the objects linked to in the \sQuote{Description}, and
33
  hence they are not allowed as syntactic names (see
28
  hence they are not allowed as syntactic names (see