From b.rowlingson at lancaster.ac.uk  Tue Aug 24 17:56:05 2010
From: b.rowlingson at lancaster.ac.uk (Barry Rowlingson)
Date: Tue, 24 Aug 2010 16:56:05 +0100
Subject: [Rd] small syntax suggestion
In-Reply-To: <XFMail.100824161830.Ted.Harding@manchester.ac.uk>
References: <201008240742.12069.cubranic@stat.ubc.ca>
	<XFMail.100824161830.Ted.Harding@manchester.ac.uk>
Message-ID: <AANLkTin0Oxchzg4ZRL6QT7uAdhTd=S53kHmTaqmAD+2q@mail.gmail.com>

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



[Rd] small syntax suggestion
Barry Rowlingson