[R] the less-than-minus gotcha

Steve Taylor steve.taylor at aut.ac.nz
Tue Feb 3 03:46:57 CET 2015


I disagree.  Assignments in my code are all lines that look like this:

variable = expression

They are easy to find and easy to read.

-----Original Message-----
From: Ista Zahn [mailto:istazahn at gmail.com] 
Sent: Tuesday, 3 February 2015 3:36p
To: Steve Taylor
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] the less-than-minus gotcha

On Mon, Feb 2, 2015 at 8:57 PM, Steve Taylor <steve.taylor at aut.ac.nz> wrote:
Fair enough, but you skipped right past the most important one: it
makes code easier to read. It's very nice to be able to visually scan
through the code and easily see where assignment happens.



More information about the R-help mailing list