From Friedrich.Leisch@ci.tuwien.ac.at  Thu May 22 14:32:02 1997
From: Friedrich.Leisch@ci.tuwien.ac.at (Friedrich Leisch)
Date: Thu, 22 May 1997 15:32:02 +0200
Subject: R-alpha: missing warning message
Message-ID: <199705221332.PAA08887@galadriel.ci.tuwien.ac.at>


In R it is possible to write nonsense 

R> 0.5:4:3:9:8:5
[1] 0.5 1.5 2.5 3.5 4.5

and never be warned about it, Splus does the expected thing:

Splus> 0.5:4:3:9:8:5
[1] 0.5 1.5 2.5 3.5 4.5
Warning messages:
1: Numerical expression has 4 elements: only the first used in: 0.5:4:3
2: Numerical expression has 3 elements: only the first used in: 0.5:4:3:9
3: Numerical expression has 9 elements: only the first used in: 0.5:4:3:9:8
4: Numerical expression has 8 elements: only the first used in: 0.5:4:3:9:8:5


Best,
Fritz

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: missing warning message
Friedrich Leisch