[R] assign values
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Nov 13 09:17:15 CET 2005
Please do read the posting guide.
The answer to your question can be found by help("<-") or help("=").
The '<-' can be used anywhere, but the '=' is
only allowed at the top level (that is, in the complete expression
typed by the user) or as one of the subexpressions in a braced
list of expressions.
If you don't fully understand that, just use <- always.
On Sat, 12 Nov 2005, someone not signing his posting wrote:
> Any difference between <- and =
>
> to assign the values?
>
> [[alternative HTML version deleted]]
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
and no HTML mail please, as we ask.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list