[R] difference between assignment syntax <- vs =
sdorairaj at gmail.com
Sat Feb 21 16:35:11 CET 2009
Read the help page as to their differences: ?"<-"
On Sat, Feb 21, 2009 at 7:30 AM, Thomas Mang <thomas.mang at fiwi.at> wrote:
> Both operators <- and = can be used to make an assignment. My question is:
> Is there a semantic difference between these two? Some time ago, I remember
> I have read that because of some reason, one should be given preference over
> the other - but I cannot remember the source, nor the argument, nor which
> operator the preferred was.
> What is the present state ?
> Is still one version better than the other, or is it only a matter of taste
> what to use ?
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help