[R] Which one shall I use? '=' or '<-'?

Cedrick Johnson cedrick at cedrickjohnson.com
Thu Sep 17 07:30:58 CEST 2009


I don't have the link off the top of my head, but if you search the 
archives and look for 'R Google Style Guide' or 'Google R Style' there 
was quite an interesting conversation thread regarding the use of the 
two, mostly for readability purposes...

-cj

Peng Yu wrote:
> Hi,
>
> I was told to use  "<-" instead of "=" in the mailing list. I am
> wondering what the difference between them?
>
> Regards,
> Peng
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> 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 mailing list