On 25/09/2012 03:45, Thomas Lumley wrote:
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
On 25/09/2012 08:12, Prof Brian Ripley wrote:
On 25/09/2012 03:45, Thomas Lumley wrote:
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
On Sep 25, 2012, at 04:45 , Thomas Lumley wrote:
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
That is an error in Splus 8.3. It must have changed quite a while
ago - it was an error in Splus 5.1, released in 1999 and I don't have
an older version handy right now. Current behavior is
1:10 + 0:1
[1] 1 3 3 5 5 7 7 9 9 11
1:10 + 0:2
Problem in 1:10 + 0:2: length of longer operand