| Line 13... |
Line 13... |
| 13 |
\arguments{
|
13 |
\arguments{
|
| 14 |
\item{arglist}{Empty or one or more name or name=expression terms.}
|
14 |
\item{arglist}{Empty or one or more name or name=expression terms.}
|
| 15 |
\item{value}{An expression.}
|
15 |
\item{value}{An expression.}
|
| 16 |
}
|
16 |
}
|
| 17 |
\details{
|
17 |
\details{
|
| 18 |
In \R (unlike S) the names in an argument list cannot be quoted
|
18 |
The names in an argument list can be back-quoted non-standard names
|
| 19 |
non-standard names.
|
19 |
(see \sQuote{\link{backquote}}).
|
| 20 |
|
20 |
|
| 21 |
If \code{value} is missing, \code{NULL} is returned. If it is a
|
21 |
If \code{value} is missing, \code{NULL} is returned. If it is a
|
| 22 |
single expression, the value of the evaluated expression is returned.
|
22 |
single expression, the value of the evaluated expression is returned.
|
| 23 |
|
23 |
|
| 24 |
If the end of a function is reached without calling \code{return}, the
|
24 |
If the end of a function is reached without calling \code{return}, the
|
| Line 27... |
Line 27... |
| 27 |
\section{Warning}{
|
27 |
\section{Warning}{
|
| 28 |
Prior to \R 1.8.0, \code{value} could be a series of non-empty
|
28 |
Prior to \R 1.8.0, \code{value} could be a series of non-empty
|
| 29 |
expressions separated by commas. In that case the value
|
29 |
expressions separated by commas. In that case the value
|
| 30 |
returned is a list of the evaluated expressions, with names set to
|
30 |
returned is a list of the evaluated expressions, with names set to
|
| 31 |
the expressions where these are the names of \R objects. That is,
|
31 |
the expressions where these are the names of \R objects. That is,
|
| 32 |
\code{a=foo()} names the list component \code{a} and gives it value
|
32 |
\code{a=foo()} names the list component \code{a} and gives it the value
|
| 33 |
the result of evaluating \code{foo()}.
|
33 |
which results from evaluating \code{foo()}.
|
| 34 |
|
34 |
|
| 35 |
This has been deprecated (and a warning is given), as it was never
|
35 |
This has been deprecated (and a warning is given), as it was never
|
| 36 |
documented in S, and whether or not the list is named differs by S versions.
|
36 |
documented in S, and whether or not the list is named differs by S versions.
|
| 37 |
}
|
37 |
}
|
| 38 |
\seealso{
|
38 |
\seealso{
|