| Line 41... |
Line 41... |
| 41 |
for an existing definition of the variable being assigned. If such
|
41 |
for an existing definition of the variable being assigned. If such
|
| 42 |
a variable is found (and its binding is not locked) then its value
|
42 |
a variable is found (and its binding is not locked) then its value
|
| 43 |
is redefined, otherwise assignment takes place in the global
|
43 |
is redefined, otherwise assignment takes place in the global
|
| 44 |
environment. Note that their semantics differ from that in the S
|
44 |
environment. Note that their semantics differ from that in the S
|
| 45 |
language, but are useful in conjunction with the scoping rules of
|
45 |
language, but are useful in conjunction with the scoping rules of
|
| 46 |
\R. See \sQuote{The R Language Definition} manual for further
|
46 |
\R. See \manual{R-lang}{} for further details and examples.
|
| 47 |
details and examples.
|
- |
|
| 48 |
|
47 |
|
| 49 |
In all the assignment operator expressions, \code{x} can be a name
|
48 |
In all the assignment operator expressions, \code{x} can be a name
|
| 50 |
or an expression defining a part of an object to be replaced (e.g.,
|
49 |
or an expression defining a part of an object to be replaced (e.g.,
|
| 51 |
\code{z[[1]]}). A syntactic name does not need to be quoted,
|
50 |
\code{z[[1]]}). A syntactic name does not need to be quoted,
|
| 52 |
though it can be (preferably by \link{backtick}s).
|
51 |
though it can be (preferably by \link{backtick}s).
|