[R] '=' vs '<-'

Joshua Wiley jwiley.psych at gmail.com
Wed Nov 3 19:55:52 CET 2010


@all:  Does it seem reasonable to add a discussion of '=' vs. '<-' to
the FAQ?  It seems a regular question and something of a "hot" topic
to debate.

@KM  Here are links I've accumulated to prior discussions on this
topic.  I am pretty certain they are all unique.


http://blog.revolutionanalytics.com/2008/12/use-equals-or-arrow-for-assignment.html

http://www.mail-archive.com/r-help@r-project.org/msg69310.html

http://www.mail-archive.com/r-help@r-project.org/msg99789.html

http://www.mail-archive.com/r-help@r-project.org/msg104102.html

http://www.mail-archive.com/r-help@r-project.org/msg16881.html

https://stat.ethz.ch/pipermail/r-sig-teaching/2010q4/000312.html

http://r.789695.n4.nabble.com/advice-opinion-on-vs-in-teaching-R-td1014502.html#a1014502


On Wed, Nov 3, 2010 at 11:04 AM, km <srikrishnamohan at gmail.com> wrote:
> Hi all,
>
> can we use '=' instead of '<-' operator for assignment in R programs?
>
> regards,
> KM
>
> ______________________________________________
> 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.



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/



More information about the R-help mailing list