Prefer = for assignment in R

Win-Vector Blog 2013-04-24

Summary:

We share our opinion that = should be preferred to the more standard <- for assignment in R. This is from a draft of the appendix of our upcoming book. This has the risk of becoming an R version of Javascript’s semicolon controversy, but here you have it. R has five common assignment operators: “=“, [...]

Link:

http://www.win-vector.com/blog/2013/04/prefer-for-assignment-in-r/?utm_source=rss&utm_medium=rss&utm_campaign=prefer-for-assignment-in-r

From feeds:

Statistics and Visualization » Win-Vector Blog

Tags:

mathematics programming r style assignment

Authors:

John Mount

Date tagged:

04/24/2013, 02:22

Date published:

04/23/2013, 23:38