From tlumley at uw.edu  Tue Sep 25 04:45:13 2012
From: tlumley at uw.edu (Thomas Lumley)
Date: Tue, 25 Sep 2012 14:45:13 +1200
Subject: [Rd] error on uneven recycling?
Message-ID: <CAJ55+dJ8zbqK-7RvTO-8K-y=e1BMKG8aHm-HML3F+FQm1EfutA@mail.gmail.com>

Is there some reason why

> (1:2)+(1:3)
[1] 2 4 4
Warning message:
In (1:2) + (1:3) :
  longer object length is not a multiple of shorter object length

can't be made into an error?  I realise it was there in S-PLUS, but
since it produces a warning there can't be many examples on CRAN or
Bioconductor using it, and I can't think of any situation where it
would be used deliberately.

    -thomas

-- 
Thomas Lumley
Professor of Biostatistics
University of Auckland



[Rd] error on uneven recycling?
Thomas Lumley