[Rd] small syntax suggestion

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Tue Aug 24 17:56:05 CEST 2010


On Tue, Aug 24, 2010 at 4:18 PM, Ted Harding
<Ted.Harding at manchester.ac.uk> wrote:

> So, on those grounds, I doubt its wisdom (and would prefer
> giving the advice to bracket things, as in "x<(-3)". It's
> a potential syntactic trap, but it's only one of many which
> can be avoided in similar ways, and I think it's better to
> teach avoidance rather than warning after the event.

 Actually I think its better to teach _testing_ since it is hard to
teach all the things to avoid - they're not all listed in Patrick
Burns' R Inferno! (This particular problem *is* listed on page 49 of
said marvellous tome).

Barry



More information about the R-devel mailing list